CLIO v1.0 — Scanner Inteligente com IA (MVP)
This commit is contained in:
17
backend/app/config.py
Normal file
17
backend/app/config.py
Normal file
@@ -0,0 +1,17 @@
|
||||
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()
|
||||
Reference in New Issue
Block a user