"""Application configuration loaded from environment variables. Settings are read from `.env` at process start. The Anthropic API key is the only required secret; everything else has a sensible default so the app can boot in dev without ceremony. """ from pydantic_settings import BaseSettings, SettingsConfigDict class Settings(BaseSettings): model_config = SettingsConfigDict(env_file=".env", env_file_encoding="utf-8", extra="ignore") anthropic_api_key: str anthropic_model: str = "claude-sonnet-4-5" max_tokens: int = 1024 server_host: str = "127.0.0.1" server_port: int = 8014 settings = Settings() # type: ignore[call-arg]