mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 04:00:36 +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:
parent
1a64268bb0
commit
7087c0508e
5 changed files with 51 additions and 21 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue