"""Application configuration for Pak Angels AI Tutor.""" from __future__ import annotations import os APP_NAME = "Pak Angels AI Tutor" APP_SUBTITLE = "Learn • Build • Innovate • Launch with Artificial Intelligence" DEFAULT_MODEL = "gpt-4.1-mini" def get_openai_api_key() -> str: """Read the OpenAI API key from the environment.""" return os.getenv("OPENAI_API_KEY", "").strip() def get_openai_model() -> str: """Read the optional model name, falling back to a practical default.""" return os.getenv("OPENAI_MODEL", DEFAULT_MODEL).strip() or DEFAULT_MODEL