mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
pass model env var to sandbox (#167)
This commit is contained in:
@@ -56,6 +56,9 @@ done
|
|||||||
# copy GEMINI_API_KEY
|
# copy GEMINI_API_KEY
|
||||||
if [ -n "${GEMINI_API_KEY:-}" ]; then run_args+=(--env GEMINI_API_KEY="$GEMINI_API_KEY"); fi
|
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
|
# copy SHELL_TOOL to optionally enable shell tool
|
||||||
if [ -n "${SHELL_TOOL:-}" ]; then run_args+=(--env SHELL_TOOL="$SHELL_TOOL"); fi
|
if [ -n "${SHELL_TOOL:-}" ]; then run_args+=(--env SHELL_TOOL="$SHELL_TOOL"); fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user