-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
24 lines (21 loc) · 757 Bytes
/
Copy path.env.example
File metadata and controls
24 lines (21 loc) · 757 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
# Discord
DISCORD_TOKEN=your_discord_bot_token
DISCORD_CLIENT_ID=your_discord_application_client_id
# Optional in development; if set, slash commands register instantly for this guild
DISCORD_GUILD_ID=your_test_guild_id
# Command registration scope: global (DM + server), guild (server-only), or both
DISCORD_COMMAND_SCOPE=global
# Gemini
GEMINI_API_KEY=your_gemini_api_key
GEMINI_MODEL=gemini-2.5-flash
GEMINI_FALLBACK_MODELS=gemini-flash-latest,gemini-2.0-flash
GEMINI_MAX_RETRIES=3
GEMINI_RETRY_BASE_MS=1500
# Search (optional, used by /labs to find real lab pages)
SERPER_API_KEY=your_serper_api_key
SERPER_API_KEY_2=your_serper_api_key_backup
# Runtime
NODE_ENV=development
RATE_LIMIT_WINDOW_MS=60000
RATE_LIMIT_MAX_REQUESTS=6
MAX_PROMPT_CHARS=1200