audit_api / config.py
dofbi's picture
♻️ refactor (api): Flask to FastAPI
89c8ad5
raw
history blame contribute delete
319 Bytes
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
OPENROUTER_API_KEY: str
API_URL: str = "https://openrouter.ai/api/v1/chat/completions"
MODEL: str = "deepseek/deepseek-chat:free"
class Config:
env_file = ".env"
env_file_encoding = "utf-8"
settings = Settings()