CodeCanvas / .env.example
Rahul-Samedavar's picture
ready for demo
5628f48
# 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="*"