blue/crates/blue-core
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
..
src feat(llm): Add graceful degradation fallback chain 2026-01-24 15:29:05 -05:00
Cargo.toml feat(realm): Implement RFC 0001 cross-repo coordination and RFC 0002 Phase 1 MCP tools 2026-01-24 07:14:35 -05:00