tasklert-api / src /core /config.py
hashir-qt's picture
initial deploy
507973e
Raw History Blame Contribute Delete
685 Bytes
from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
model_config = SettingsConfigDict(
env_file=".env",
env_file_encoding="utf-8",
)
database_url: str = "sqlite+aiosqlite:///./todo.db"
secret_key: str = "change-this-in-production"
algorithm: str = "HS256"
access_token_expire_minutes: int = 30
app_name: str = "Phase II Full-Stack Todo App"
version: str = "0.1.0"
debug: bool = False
frontend_url: str = "http://localhost:3000"
openai_api_key: str = ""
gemini_api_key: str = ""
routing_policy: str = "failover"
default_provider: str = "gemini"
settings = Settings()