core: conditionally enable question tool only for CLI client to prevent tool usage in non-CLI environments
parent
14b827f941
commit
21cd0482ba
|
|
@ -93,7 +93,7 @@ export namespace ToolRegistry {
|
|||
|
||||
return [
|
||||
InvalidTool,
|
||||
QuestionTool,
|
||||
...(Flag.OPENCODE_CLIENT === "cli" ? [QuestionTool] : []),
|
||||
BashTool,
|
||||
ReadTool,
|
||||
GlobTool,
|
||||
|
|
|
|||
Loading…
Reference in New Issue