feat: implement health check endpoint for Google Gemini AI integration

pushed
subh05sus/sparkmentis-fork7:57 AM - Dec 22, 2025
subh05sus

subh05sus pushed a new health‐check endpoint for the Google Gemini AI integration on the main branch. The added GET route in app/api/health/ai/route.ts probes the Gemini 2.5-Flash model via @google/genai, handles missing API keys and errors gracefully, and returns a simple JSON status with 200 or 503 codes. This will help you monitor service availability and configuration in a lightweight way.

feat: implement health check endpoint for Google Gemini AI integration - subh05sus/sparkmentis-fork