hp-prod-tracker/src/lib/chat
Leivur Djurhuus 78240d6d3f refactor: Remove Ollama LLM fallback from chat provider
Ollama can't use tools so it was never useful as a chat fallback — it
just caused confusing "both providers unavailable" errors. The chat
now uses Claude exclusively with clear error messages on failure.

- Remove chatWithOllama(), checkOllamaHealth()
- Simplify chat() to call Claude directly
- Remove Ollama UI indicators and "Limited mode" warning
- Clean up provider types (remove "ollama" union member)

Note: Ollama is still used for embedding generation (nomic-embed-text)
via the embedding service — only the LLM chat fallback is removed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 15:32:11 -05:00
..
provider.ts refactor: Remove Ollama LLM fallback from chat provider 2026-03-12 15:32:11 -05:00
tool-definitions.ts feat: Overhaul AI chat with SSE streaming, fuzzy search, and clickable suggestions 2026-03-12 15:21:45 -05:00
tool-executor.ts feat: Use pgvector semantic search in chat search_entities tool 2026-03-12 15:25:41 -05:00