-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathenv.example
More file actions
25 lines (19 loc) · 955 Bytes
/
Copy pathenv.example
File metadata and controls
25 lines (19 loc) · 955 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# codex-deepseek-v4-proxy — environment variables
# DeepSeek API key from https://platform.deepseek.com
# Required for DeepSeek model routing.
DEEPSEEK_API_KEY=your-d...here
# OpenAI API key from https://platform.openai.com/api-keys
# Needed only if you want the proxy to route some models directly to OpenAI.
# OPENAI_API_KEY=***
# Optional: GitHub token for authenticated API calls (prevents 404 on private repos & rate limits)
# GITHUB_TOKEN=ghp_yo...here
# Optional: Override defaults
# PROXY_PORT=4000
# DEEPSEEK_BASE_URL=https://api.deepseek.com/v1
# OPENAI_BASE_URL=https://api.openai.com/v1
# DEFAULT_PROVIDER=deepseek
# Optional: models the proxy should advertise from /v1/models
# DEEPSEEK_MODELS=deepseek-v4-pro,deepseek-v4-flash
# OPENAI_MODELS=gpt-5.4,gpt-5.4-mini,gpt-5.4-nano,gpt-4o
# Optional: heuristic prefixes that should route to OpenAI even if not explicitly listed above
# OPENAI_MODEL_PREFIXES=gpt-,o1,o3,o4,codex-,chatgpt-