-
Notifications
You must be signed in to change notification settings - Fork 93
M6: Enhanced Health Check with LLM and RAG Status #655
Copy link
Copy link
Open
Labels
domain:surfacesAgent UI, Telegram, WhatsApp, Slack/Discord, mobileAgent UI, Telegram, WhatsApp, Slack/Discord, mobileenhancementNew feature or requestNew feature or requesttrack:consumer-appHermes-competitor consumer product — mobile-first, voice + messaging + memory + skillsHermes-competitor consumer product — mobile-first, voice + messaging + memory + skills
Metadata
Metadata
Assignees
Labels
domain:surfacesAgent UI, Telegram, WhatsApp, Slack/Discord, mobileAgent UI, Telegram, WhatsApp, Slack/Discord, mobileenhancementNew feature or requestNew feature or requesttrack:consumer-appHermes-competitor consumer product — mobile-first, voice + messaging + memory + skillsHermes-competitor consumer product — mobile-first, voice + messaging + memory + skills
Priority: P2 — Operational reliability
Effort: Small (1-2 days)
Problem
/healthreturns{"status": "ok"}when the FastAPI process is running, even if Lemonade Server is down or no model is loaded. Webapps that check health before accepting traffic get false positives.Deliverable
Extended health endpoint that reports component status:
Status values:
ready,unavailable,error,not_configuredFiles to change
src/gaia/api/openai_server.py— extend/healthhandler$LEMONADE_BASE_URL/v1/modelswith a short timeoutAcceptance criteria
/healthreturns component-level status"status": "degraded"if LLM is unavailable but API is up"status"field still works for simple checksContext
Full milestone plan:
docs/plans/webapp-integration.md