mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 20:50:34 +00:00
switch to shell tool, deprecating terminal (#203)
* switch to shell tool, deprecating terminal * Merge remote-tracking branch 'origin/main' into deprecate_terminal
This commit is contained in:
parent
30b04295d2
commit
57ceadb7d8
6 changed files with 53 additions and 36 deletions
|
|
@ -157,9 +157,9 @@ async function start_sandbox(sandbox: string) {
|
|||
args.push('--env', `GEMINI_CODE_MODEL=${process.env.GEMINI_CODE_MODEL}`);
|
||||
}
|
||||
|
||||
// copy SHELL_TOOL to optionally enable shell tool
|
||||
if (process.env.SHELL_TOOL) {
|
||||
args.push('--env', `SHELL_TOOL=${process.env.SHELL_TOOL}`);
|
||||
// copy TERMINAL_TOOL to optionally enable shell tool
|
||||
if (process.env.TERMINAL_TOOL) {
|
||||
args.push('--env', `TERMINAL_TOOL=${process.env.TERMINAL_TOOL}`);
|
||||
}
|
||||
|
||||
// copy TERM and COLORTERM to try to maintain terminal setup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue