Files
clio/backend/app/config.py
2026-02-10 23:05:41 +00:00

18 lines
549 B
Python

from pydantic_settings import BaseSettings
class Settings(BaseSettings):
DATABASE_URL: str = "postgresql+asyncpg://clio:Clio2026!@localhost:5432/clio"
SECRET_KEY: str = "clio-secret-key-2026-musa-da-historia"
ALGORITHM: str = "HS256"
ACCESS_TOKEN_EXPIRE_MINUTES: int = 60 * 24 * 7
OPENAI_API_KEY: str = ""
OPENAI_MODEL_TEXT: str = "gpt-4o-mini"
OPENAI_MODEL_VISION: str = "gpt-4o"
FREE_SCAN_LIMIT: int = 5
UPLOAD_DIR: str = "/opt/clio/uploads"
class Config:
env_file = ".env"
settings = Settings()