claude-os/app
Rosie Val 614a109378 Add Groq as an LLM provider
Config.PROVIDER was never actually consulted by the LLM call sites -
rag_engine.py, insight_extractor.py, and knowledge_lifecycle.py all
hardcoded Ollama directly. This wires up a real "groq" provider:

- config.py: GROQ_API_KEY/GROQ_MODEL settings, is_groq_provider(),
  provider-aware get_active_llm_model() and validate_provider_config()
- rag_engine.py: uses llama_index's Groq LLM when provider is groq
- insight_extractor.py / knowledge_lifecycle.py: branch to Groq's
  OpenAI-compatible chat completions API instead of Ollama's /api/generate
- requirements.txt: add llama-index-llms-groq

Embeddings are untouched and stay on Ollama - Groq has no embeddings API.
Default model is openai/gpt-oss-120b.
2026-08-22 13:53:46 -04:00
..
core Add Groq as an LLM provider 2026-08-22 13:53:46 -04:00
db feat: Add Knowledge Lifecycle Engine and fix upload_document MCP tool 2026-02-06 10:08:00 -06:00
utils first commit 2025-10-22 13:29:28 -05:00
__init__.py first commit 2025-10-22 13:29:28 -05:00