blue/crates/blue-mcp/src
Eric Garcia f1612b9b0c feat(llm): Add graceful degradation fallback chain
Implements fallback: Ollama → API → Keywords

- Add KeywordLlm provider (always available, keyword-based matching)
- Add LlmManager for managing provider fallback chain
- Add blue_llm_providers tool to show chain status
- Keywords provider uses Jaccard similarity for text matching

The system now gracefully degrades when LLM providers are unavailable:
1. Try local Ollama first (best quality)
2. Fall back to API if configured (ANTHROPIC_API_KEY/OPENAI_API_KEY)
3. Fall back to keyword matching (always works, basic functionality)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 15:29:05 -05:00
..
handlers feat(llm): Add graceful degradation fallback chain 2026-01-24 15:29:05 -05:00
error.rs feat(mcp): Complete Phase 3 - PR and Release handlers 2026-01-24 03:21:36 -05:00
lib.rs feat: Phase 7 - PRD, lint, env, guide, and staging IaC tools 2026-01-24 04:12:41 -05:00
server.rs feat(llm): Add graceful degradation fallback chain 2026-01-24 15:29:05 -05:00