Update .env.example
Browse files- configs/.env.example +19 -1
configs/.env.example
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# For local development only. Use Space Secrets in production.
|
| 2 |
-
HF_TOKEN="your_hugging_face_write_token"
|
| 3 |
ADMIN_TOKEN="a-secure-admin-token-for-index-refresh"
|
| 4 |
|
| 5 |
# --- Optional Overrides ---
|
|
|
|
| 1 |
+
# === API Keys (DO NOT COMMIT REAL KEYS) ===
|
| 2 |
+
GROQ_API_KEY=your_groq_key_here
|
| 3 |
+
GOOGLE_API_KEY=your_google_gemini_key_here
|
| 4 |
+
HF_TOKEN=your_huggingface_token_here
|
| 5 |
+
|
| 6 |
+
# === Provider order ===
|
| 7 |
+
# Comma-separated cascade, first working provider wins.
|
| 8 |
+
# Options: groq, gemini, router
|
| 9 |
+
PROVIDER_ORDER=groq,gemini,router
|
| 10 |
+
|
| 11 |
+
# === Provider-default models (override if needed) ===
|
| 12 |
+
GROQ_MODEL=llama-3.1-8b-instant
|
| 13 |
+
GEMINI_MODEL=gemini-2.5-flash
|
| 14 |
+
|
| 15 |
+
# === Logging ===
|
| 16 |
+
LOG_LEVEL=INFO
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
|
| 20 |
# For local development only. Use Space Secrets in production.
|
|
|
|
| 21 |
ADMIN_TOKEN="a-secure-admin-token-for-index-refresh"
|
| 22 |
|
| 23 |
# --- Optional Overrides ---
|