import logging from backend.services.connectors import _resolve_api_keys logger = logging.getLogger(__name__) async def get_gaming_coach_model_config() -> dict: """ Retrieves the gaming coach model config securely. Uses the exact same vault resolution pattern as other LLM connectors. """ keys = _resolve_api_keys() api_key = keys.get("gemini", "") if not api_key: logger.warning("JARVIS 10X: GEMINI_API_KEY not found in vault or env. Coaching may fail.") return { "model": "gemini-3.5-flash", "api_key": api_key, }