mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
more consistent confirmations, TODO to improve write confirmations, drop "description" from execution confirmation, add confirmation to new (still dummy) shell tool (#176)
This commit is contained in:
@@ -147,7 +147,7 @@ function createToolRegistry(config: Config): ToolRegistry {
|
||||
|
||||
// use ShellTool (next-gen TerminalTool) if environment variable is set
|
||||
if (process.env.SHELL_TOOL) {
|
||||
tools.push(new ShellTool(targetDir, config));
|
||||
tools.push(new ShellTool(config));
|
||||
} else {
|
||||
tools.push(new TerminalTool(targetDir, config));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user