From 39cdba06a696be6b1665def9cb627f1ff1e61cd7 Mon Sep 17 00:00:00 2001 From: Olcan Date: Fri, 25 Apr 2025 08:28:14 -0700 Subject: [PATCH] pass model env var to sandbox (#167) --- scripts/start_sandbox.sh | 3 +++ 1 file changed, 3 insertions(+) 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