From 834fd80640f3432f4b5b584797e7e1eeb05b3ac0 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Tue, 10 Feb 2026 19:33:42 -0500 Subject: [PATCH] Add Ollama health check status indicator to chat views Adds visibility into whether Ollama is reachable and the configured model is ready before allowing chat. Prevents silent failures when the model is still downloading or Ollama is unavailable. - Backend: GET /api/chat/status endpoint checks Ollama /api/tags (5s timeout) Returns ollama availability + model readiness + default model name - Frontend: OllamaStatus type, chat store polling (30s interval) - ChatView: status dot + label in header (green/yellow/red), disabled send - ChatPanel: compact status indicator in panel header, disabled send - summary.md: updated with new endpoint, store changes, and component descriptions Co-Authored-By: Claude Opus 4.6 --- frontend/src/components/ChatPanel.vue | 63 +++++++++++++++++++++++-- frontend/src/stores/chat.ts | 43 ++++++++++++++++- frontend/src/types/chat.ts | 6 +++ frontend/src/views/ChatView.vue | 66 +++++++++++++++++++++++++-- src/fabledassistant/routes/chat.py | 27 ++++++++++- summary.md | 14 +++--- 6 files changed, 202 insertions(+), 17 deletions(-) diff --git a/frontend/src/components/ChatPanel.vue b/frontend/src/components/ChatPanel.vue index fb42a22..6d01fb3 100644 --- a/frontend/src/components/ChatPanel.vue +++ b/frontend/src/components/ChatPanel.vue @@ -1,5 +1,5 @@