Victor Dibia b2cef7f47c
Update AGS (Support Workbenches ++) (#6736)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-07-16 10:03:02 -07:00

24 lines
617 B
Python

# api/config.py
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
DATABASE_URI: str = "sqlite:///./autogen04203.db"
API_DOCS: bool = False
CLEANUP_INTERVAL: int = 300 # 5 minutes
SESSION_TIMEOUT: int = 3600 # 1 hour
CONFIG_DIR: str = "configs" # Default config directory relative to app_root
DEFAULT_USER_ID: str = "guestuser@gmail.com"
UPGRADE_DATABASE: bool = False
# Lite mode settings
LITE_MODE: bool = False
LITE_TEAM_FILE: str = ""
LITE_SESSION_NAME: str = ""
model_config = {"env_prefix": "AUTOGENSTUDIO_"}
settings = Settings()