# AI Conversation - Environment Configuration # Copy this file to .env and add your API keys # Required: OpenRouter API key for LLM conversations # Get your key at: https://openrouter.ai/keys OPENROUTER_API_KEY=your_openrouter_api_key_here # Required for voice cloning: HuggingFace token # Accept terms at: https://huggingface.co/kyutai/pocket-tts # Get token at: https://huggingface.co/settings/tokens HF_TOKEN=your_huggingface_token_here # Optional: Default model for conversations DEFAULT_MODEL=anthropic/claude-3-haiku # Optional: Server configuration HOST=0.0.0.0 PORT=8000 # --------------- Modal TTS (serverless) --------------- # Set to true after deploying the Modal app (see README for setup) MODAL_TTS_ENABLED=false # These URLs are printed by `modal deploy modal_tts/app.py` MODAL_TTS_GENERATE_URL= MODAL_TTS_HEALTH_URL= # Must match the TTS_AUTH_TOKEN in your Modal "tts-api-auth" secret MODAL_TTS_AUTH_TOKEN= # Circuit breaker tuning (optional) # MODAL_CIRCUIT_FAILURE_THRESHOLD=3 # MODAL_CIRCUIT_COOLDOWN_SECONDS=60