Spaces:
Sleeping
Sleeping
File size: 1,031 Bytes
5628f48 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
# Instructions:
# 1. Rename this file to `.env`
# 2. Fill in the required values below.
# 3. Keep the .env file private and do not commit it to version control.
# -----------------------------------------------------------------------------
# --- Primary AI Model (Gemini) ---
# Your Google AI Studio (Gemini) API keys.
# You can provide multiple keys separated by commas for automatic rotation and fallback.
# Example: GEMINI_API_KEYS=key1,key2,key3
GEMINI_API_KEYS="YOUR_GEMINI_API_KEY_HERE"
# The name of the primary Gemini model to use.
# Defaults to "gemini-1.5-flash-latest" if not set.
PRIMARY_AI_MODEL_NAME="gemini-1.5-flash-latest"
# --- Fallback AI Model (Requesty Router) ---
# This model is used if all Gemini keys fail.
# You MUST provide a Requesty API key. Get one from requesty.ai
REQUESTY_API_KEY="YOUR_REQUESTY_API_KEY_HERE"
# The name of the fallback AI model to use via the Requesty router.
# Defaults to "gemini-1.5-pro-latest" if not set.
AI_MODEL_NAME="coding/gemini-2.5-flash"
CORS_ALLOW_ORIGINS="*" |