WIP - OpenRouter support
This commit is contained in:
@@ -2,18 +2,25 @@
|
||||
# Copy this file to .env and fill in your values
|
||||
|
||||
# API Keys - At least one is required
|
||||
#
|
||||
# IMPORTANT: Use EITHER OpenRouter OR native APIs (Gemini/OpenAI), not both!
|
||||
# Having both creates ambiguity about which provider serves each model.
|
||||
#
|
||||
# Option 1: Use native APIs (recommended for direct access)
|
||||
# Get your Gemini API key from: https://makersuite.google.com/app/apikey
|
||||
GEMINI_API_KEY=your_gemini_api_key_here
|
||||
|
||||
# Get your OpenAI API key from: https://platform.openai.com/api-keys
|
||||
OPENAI_API_KEY=your_openai_api_key_here
|
||||
|
||||
# Optional: OpenRouter for access to multiple models
|
||||
# Option 2: Use OpenRouter for access to multiple models through one API
|
||||
# Get your OpenRouter API key from: https://openrouter.ai/
|
||||
# If using OpenRouter, comment out the native API keys above
|
||||
OPENROUTER_API_KEY=your_openrouter_api_key_here
|
||||
|
||||
# Optional: Restrict which models can be used via OpenRouter (recommended for cost control)
|
||||
# Example: OPENROUTER_ALLOWED_MODELS=gpt-4,claude-3-opus,mistral-large
|
||||
# Leave empty to allow ANY model (not recommended - risk of high costs)
|
||||
OPENROUTER_ALLOWED_MODELS=
|
||||
|
||||
# Optional: Default model to use
|
||||
|
||||
Reference in New Issue
Block a user