from functools import lru_cache from pydantic_settings import BaseSettings class Settings(BaseSettings): database_url: str = "postgresql://nvi:nvi@postgres:5432/nvi" anthropic_api_key: str = "" anthropic_model: str = "claude-sonnet-4-6" langfuse_host: str = "http://lng.local.ar:3000" langfuse_public_key: str = "" langfuse_secret_key: str = "" model_config = {"env_prefix": "", "case_sensitive": False} @lru_cache def get_settings() -> Settings: return Settings()