-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
35 lines (29 loc) · 965 Bytes
/
env.example
File metadata and controls
35 lines (29 loc) · 965 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
26
27
28
29
30
31
32
33
34
35
# Required: OpenAI API Key
OPENAI_API_KEY=sk-your-openai-api-key-here
# Security: Expected Anthropic API key for client validation
# If set, clients must provide this exact API key to access the proxy
# If not set, any API key will be accepted
ANTHROPIC_API_KEY=
# Model Configuration
BIG_MODEL=gpt-4o
MIDDLE_MODEL=gpt-4o
SMALL_MODEL=gpt-4o-mini
# API Configuration
OPENAI_BASE_URL=https://api.openai.com/v1
AZURE_API_VERSION=
# Server Settings
# 严禁随意修改端口!前后端端口配置需要保持一致!
# 后端固定端口:54988,前端固定端口:54989
HOST=0.0.0.0
PORT=54988
LOG_LEVEL=INFO
# Performance
MAX_TOKENS_LIMIT=4096
MIN_TOKENS_LIMIT=100
REQUEST_TIMEOUT=90
# Custom Headers (uncomment to enable)
# CUSTOM_HEADER_ACCEPT=application/jsonstream
# CUSTOM_HEADER_CONTENT_TYPE=application/json
# CUSTOM_HEADER_USER_AGENT=claude-code-proxy/1.0.0
# CUSTOM_HEADER_AUTHORIZATION=Bearer your-token
# CUSTOM_HEADER_X_API_KEY=your-api-key