Files
leleka/scripts/e2e/codex/config.toml.tmpl
T

24 lines
902 B
Cheetah

# Codex CLI configuration for the e2e jobs (rendered by run-codex.sh into an isolated CODEX_HOME). No credentials here:
# the key is read from the environment variable named by env_key, set by run-e2e.sh from a freshly generated test key.
model = "@MODEL@"
model_provider = "strata"
approval_policy = "never"
sandbox_mode = "workspace-write"
model_reasoning_effort = "@EFFORT@"
model_context_window = 262144
model_reasoning_summary = "auto"
# Codex sends the hosted web_search tool by default; strata-next refuses hosted tools (400), as the existing launcher scripts/install-qwen-native.py also configures
web_search = "disabled"
[sandbox_workspace_write]
network_access = false
[model_providers.strata]
name = "strata-next over leleka-inference"
base_url = "@BASE_URL@/v1"
env_key = "E2E_API_KEY"
wire_api = "responses"
request_max_retries = 2
stream_max_retries = 2
stream_idle_timeout_ms = 900000