summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlcan <[email protected]>2025-04-25 08:28:14 -0700
committerGitHub <[email protected]>2025-04-25 15:28:14 +0000
commit39cdba06a696be6b1665def9cb627f1ff1e61cd7 (patch)
tree6958825bfc51c20ee7a801e3ce43fb6c856cb9c1
parentf34ac6272cae99eef745cf22249d8e87a50f4341 (diff)
pass model env var to sandbox (#167)
-rwxr-xr-xscripts/start_sandbox.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/start_sandbox.sh b/scripts/start_sandbox.sh
index b17f1a7e..1c3e2417 100755
--- a/scripts/start_sandbox.sh
+++ b/scripts/start_sandbox.sh
@@ -56,6 +56,9 @@ done
# copy GEMINI_API_KEY
if [ -n "${GEMINI_API_KEY:-}" ]; then run_args+=(--env GEMINI_API_KEY="$GEMINI_API_KEY"); fi
+# copy GEMINI_CODE_MODEL
+if [ -n "${GEMINI_CODE_MODEL:-}" ]; then run_args+=(--env GEMINI_CODE_MODEL="$GEMINI_CODE_MODEL"); fi
+
# copy SHELL_TOOL to optionally enable shell tool
if [ -n "${SHELL_TOOL:-}" ]; then run_args+=(--env SHELL_TOOL="$SHELL_TOOL"); fi