feat(config): support OPENROUTER_API_KEY, GROQ_API_KEY, and GEMINI_API_KEY loaded from .env
Browse files- app/config.py +4 -1
app/config.py
CHANGED
|
@@ -72,9 +72,12 @@ class Settings(BaseSettings):
|
|
| 72 |
# Frontend Redirect
|
| 73 |
FRONTEND_URL: str = "http://localhost:3000"
|
| 74 |
|
| 75 |
-
# OpenRouter/OpenAI
|
| 76 |
OPENAI_API_KEY: str = ""
|
| 77 |
OPENAI_BASE_URL: str = "https://openrouter.ai/api/v1"
|
|
|
|
|
|
|
|
|
|
| 78 |
|
| 79 |
model_config = SettingsConfigDict(
|
| 80 |
env_file=(".env", ENV_FILE_PATH),
|
|
|
|
| 72 |
# Frontend Redirect
|
| 73 |
FRONTEND_URL: str = "http://localhost:3000"
|
| 74 |
|
| 75 |
+
# OpenRouter/OpenAI/Groq/Gemini API Keys
|
| 76 |
OPENAI_API_KEY: str = ""
|
| 77 |
OPENAI_BASE_URL: str = "https://openrouter.ai/api/v1"
|
| 78 |
+
OPENROUTER_API_KEY: str = ""
|
| 79 |
+
GROQ_API_KEY: str = ""
|
| 80 |
+
GEMINI_API_KEY: str = ""
|
| 81 |
|
| 82 |
model_config = SettingsConfigDict(
|
| 83 |
env_file=(".env", ENV_FILE_PATH),
|