feat(infra): Set the Code Runner environment to sandbox by default (#2339)

This commit is contained in:
Ryo
2025-10-17 11:29:13 +08:00
committed by GitHub
parent 7c32b8ded7
commit fcf40d1008

View File

@ -234,7 +234,7 @@ export BUILTIN_CM_GEMINI_MODEL=""
# Default using local
# - sandbox: execute python code in a sandboxed env with deno + pyodide
# - local: using venv, no env isolation
export CODE_RUNNER_TYPE="local"
export CODE_RUNNER_TYPE="sandbox"
# Sandbox sub configuration
# Access restricted to specific environment variables, split with comma, e.g. "PATH,USERNAME"
export CODE_RUNNER_ALLOW_ENV=""