-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.env.example
More file actions
executable file
·21 lines (17 loc) · 855 Bytes
/
.env.example
File metadata and controls
executable file
·21 lines (17 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Required: Your Google AI Studio API key
GEMINI_API_KEY="your key"
# Optional: Model mappings for Claude Code aliases
BIG_MODEL="gemini-2.5-pro-preview-06-05" # For 'sonnet' or 'opus' requests
SMALL_MODEL="gemini-2.5-pro-preview-06-05" # For 'haiku' requests
# Optional: Server settings
HOST="0.0.0.0"
PORT="8082"
LOG_LEVEL="WARNING" # DEBUG, INFO, WARNING, ERROR, CRITICAL
# Optional: Performance and reliability settings
MAX_TOKENS_LIMIT="8192" # Max tokens for Gemini responses
REQUEST_TIMEOUT="90" # Request timeout in seconds
MAX_RETRIES="2" # LiteLLM retries to Gemini
MAX_STREAMING_RETRIES="12" # Streaming-specific retry attempts
# Optional: Streaming control (use if experiencing issues)
FORCE_DISABLE_STREAMING="false" # Disable streaming globally
EMERGENCY_DISABLE_STREAMING="false" # Emergency streaming disable