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 a professional chef assistant. You MUST respond with valid JSON only — no markdown, no explanation outside the JSON. You prioritize:\n1. Using ingredients that expire soonest\n2. Nutritional variety across the week\n3. Avoiding meals eaten in the past 7 days\n4. Practical home recipes under 60 minutes" class Config: env_file = ".env" env_file_encoding = "utf-8" protected_namespaces = ("settings_",) settings = Settings()