File size: 1,272 Bytes
8c4590b b59fc2c 8c4590b b59fc2c 8c4590b b59fc2c 8c4590b b59fc2c 8c4590b b59fc2c 8c4590b b59fc2c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # βββ Backend environment variables βββββββββββββββββββββββββββββββββββββββββββ
# Copy this file to .env and fill in your values.
# For Render / HuggingFace Spaces: set these as environment secrets in the
# deployment dashboard β do NOT commit the actual .env to git.
# ββ Groq API keys (free at console.groq.com) ββββββββββββββββββββββββββββββ
# Two keys enable round-robin rotation to stay within rate limits.
GROQ_API_KEY_1=gsk_your_first_key_here
GROQ_API_KEY_2=gsk_your_second_key_here
GROQ_API_KEY_3=gsk_your_third_key_here
GROQ_MODEL=llama-3.3-70b-versatile
# ββ Google Gemini key (optional β used only if backend needs Gemini) βββββββ
GOOGLE_API_KEY=your_google_api_key_here
# ββ CORS: comma-separated list of allowed frontend origins ββββββββββββββββ
# Local dev: http://localhost:3000,http://localhost:5173
# Production: https://your-app.vercel.app
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:5173
# ββ Optional API key protection (leave blank to disable) βββββββββββββββββ
API_SECRET_KEY=
|