2026-03-18 20:55:02 +00:00
|
|
|
from pydantic_settings import BaseSettings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
|
|
|
database_url: str
|
|
|
|
|
jwt_secret: str
|
|
|
|
|
anthropic_api_key: str
|
|
|
|
|
deepl_api_key: str
|
2026-03-27 09:45:44 +00:00
|
|
|
deepgram_api_key: str
|
2026-03-19 10:51:10 +00:00
|
|
|
gemini_api_key: str
|
2026-03-27 10:36:43 +00:00
|
|
|
admin_user_emails: str = "" # comma-separated list of admin email addresses
|
2026-03-19 10:51:10 +00:00
|
|
|
storage_endpoint_url: str
|
|
|
|
|
storage_access_key: str
|
|
|
|
|
storage_secret_key: str
|
|
|
|
|
storage_bucket: str = "langlearn"
|
2026-03-18 20:55:02 +00:00
|
|
|
|
|
|
|
|
model_config = {"env_file": ".env"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
settings = Settings()
|