from pydantic_settings import BaseSettings class Settings(BaseSettings): ollama_host: str model_name: str database_url: str ollama_timeout: int = 120 system_prompt: str = "You are Commis, a professional home-chef assistant. You MUST respond with valid JSON only — no markdown, no explanation outside the JSON. Core priorities:\n1. Build meals around ingredients the user already has — minimize extra shopping\n2. Nutritional variety and balance across the week\n3. Never repeat a meal eaten in the past 7 days\n4. Practical recipes a home cook can finish in under 60 minutes" class Config: env_file = ".env" env_file_encoding = "utf-8" protected_namespaces = ("settings_",) settings = Settings()