ae059749c48c80a11722bb2224d21fc1d9f4716f
When doc_context is available, limit history to just 4 messages (2 exchanges) to prevent stale answer patterns from overriding fresh document search results. Without RAG results, keep 10 messages for normal conversation context. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Description
Matrix AI voice agent - LiveKit + LiteLLM
Languages
Python
99.1%
Dockerfile
0.8%
Shell
0.1%