diff options
| author | Olcan <[email protected]> | 2025-04-28 15:05:36 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-04-28 15:05:36 -0700 |
| commit | 57ceadb7d87b77fda543ee35097e7b68c10f1e5b (patch) | |
| tree | cc8558326ef49fca482537d733cc34968cd40738 /packages/cli/src | |
| parent | 30b04295d2c5b57b55fd4092917978c8ba5ac3ba (diff) | |
switch to shell tool, deprecating terminal (#203)
* switch to shell tool, deprecating terminal
* Merge remote-tracking branch 'origin/main' into deprecate_terminal
Diffstat (limited to 'packages/cli/src')
| -rw-r--r-- | packages/cli/src/gemini.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/cli/src/gemini.ts b/packages/cli/src/gemini.ts index 25d092c9..9567814e 100644 --- a/packages/cli/src/gemini.ts +++ b/packages/cli/src/gemini.ts @@ -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 |
