from pydantic_settings import BaseSettings, SettingsConfigDict

class Settings(BaseSettings):
    model_config = SettingsConfigDict(env_file=".env", extra="ignore")
    app_name: str = "OMEGA Ultimate"
    app_env: str = "development"
    database_url: str = "postgresql+asyncpg://omega:omega@localhost:5432/omega"
    redis_url: str = "redis://localhost:6379/0"
    jwt_secret: str = "development-only-change-this-secret-now"
    jwt_algorithm: str = "HS256"
    access_token_minutes: int = 15
    refresh_token_days: int = 30
    bootstrap_token: str = ""
    telegram_bot_token: str = ""
    telegram_webhook_secret: str = ""
    onboarding_service_token: str = ""
    public_base_url: str = ""
    cors_origins: str = "http://localhost:5173"
    ai_provider: str = "disabled"
    openai_api_key: str = ""
    openai_model: str = "gpt-4o-mini"

settings = Settings()
