# Discord Bot Token # Get this from https://discord.com/developers/applications DISCORD_TOKEN=your_discord_bot_token_here # Opencode Configuration # The URL of your running opencode server OPENCODE_BASE_URL=http://localhost:4096 # Optional: Override the model provider and model ID # Leave these empty to use opencode's default configuration OPENCODE_PROVIDER_ID=zai-coding-plan OPENCODE_MODEL_ID=glm-4.7 # Optional: Production settings # Maximum message length in characters (default: 10000) MAX_MESSAGE_LENGTH=10000 # Maximum queue depth before backpressure kicks in (default: 50) MAX_QUEUE_DEPTH=50 # Rate limit per channel per minute (default: 10) RATE_LIMIT_PER_MINUTE=10 # Optional: WhatsApp configuration (when adapter is implemented) # WHATSAPP_API_KEY= # WHATSAPP_PHONE_NUMBER_ID= # Optional: Ollama configuration (when agent is implemented) # OLLAMA_BASE_URL=http://localhost:11434 # OLLAMA_MODEL=llama2