from fastapi import APIRouter from core import llm_models router = APIRouter() @router.get("/") def health(): return {"status": "ok"} @router.get("/health/intents") def health_intents(): loaded_projects = [proj for proj, model in llm_models.items() if model.intent_model is not None] return {"status": "ok", "loaded_projects": loaded_projects}