-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
23 lines (22 loc) · 862 Bytes
/
.env.example
File metadata and controls
23 lines (22 loc) · 862 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# server bind host
OPENAI_COMPAT_HOST=127.0.0.1
# server bind port
OPENAI_COMPAT_PORT=8787
# optional bearer token for /v1/* routes. leave empty to disable auth
OPENAI_COMPAT_TOKEN=
# codex cli binary name/path
CODEX_BIN=codex
# fallback model when request does not include "model"
CODEX_DEFAULT_MODEL=gpt-5-codex
# models exposed by /v1/models (comma-separated)
CODEX_MODELS=gpt-5-codex
# codex reasoning effort
# available: none, minimal, low, medium, high, xhigh
CODEX_REASONING_EFFORT=medium
# default system prompt prepended to each chat request
# this can be overridden per request with "system_prompt"
CODEX_SYSTEM_PROMPT=
# timeout for one codex execution in milliseconds
CODEX_EXEC_TIMEOUT_MS=180000
# codex sandbox mode (for example: read-only, workspace-write, danger-full-access). just read-only is enough for most use cases
CODEX_SANDBOX=read-only