-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy path.env.example
More file actions
50 lines (38 loc) · 1.59 KB
/
.env.example
File metadata and controls
50 lines (38 loc) · 1.59 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Server configuration
PORT=8080
HOST=0.0.0.0
# Logging configuration
# LOG_LEVEL options: off, error, error-debug, debug
# - off: No logging
# - error: Log only errors to log/error.log
# - error-debug: Log errors + non-200 responses to log/req-*/ directories
# - debug: Log all requests to log/req-*/ directories
LOG_LEVEL=error
# Error log rotation
ERROR_LOG_MAX_MB=10
ERROR_LOG_MAX_DAYS=30
# Max debug log directories to keep
MAX_DEBUG_LOGS=20
# Retry configuration for 500 errors
MAX_RETRIES=5
RETRY_DELAY_MS=1000
# Default account to use first (if available)
# Set this to specify which account the proxy should use by default
# Should match the name used when adding an account with 'npm run auth add <name>'
DEFAULT_ACCOUNT=
# Qwen Code authentication usage
# Set to false to disable using the default ~/.qwen/oauth_creds.json file
# This is useful when you have named account files and want to avoid conflicts
QWEN_CODE_AUTH_USE=true
# API Key (optional - if not set, API key validation will be disabled)
# Multiple API keys can be provided as comma-separated values (e.g., "key1, key2, key3")
API_KEY=
# System Prompt Injection Configuration
# Enable automatic injection of Qwen Code system prompt into requests
SYSTEM_PROMPT_ENABLED=false
# Custom system prompt file (optional - if not set, uses built-in Qwen Code prompt)
# SYSTEM_PROMPT_FILE=/path/to/your/custom-prompt.md
# How to combine with existing system messages: 'prepend' or 'append'
SYSTEM_PROMPT_MODE=prepend
# Apply only to specific models (optional - comma-separated, empty = all models)
# SYSTEM_PROMPT_MODELS=qwen3-coder-plus,qwen3-coder-flash