Christian Gick ae2f34a3b6
Some checks failed
Build & Deploy / test (push) Failing after 11s
Build & Deploy / build-and-deploy (push) Has been skipped
Tests / test (push) Failing after 9s
fix(MAT-273): parse text-based tool calls instead of leaking to Matrix
Some LiteLLM-proxied models emit tool calls as <tool_call>fn(args)
text instead of using the OpenAI function-calling API. This caused
raw markup to be streamed as visible chat text with no tool execution.

After streaming completes, detect <tool_call> patterns, parse into
proper tool_calls, strip markup from content, and re-edit the Matrix
message.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 12:29:39 +03:00
Description
Matrix AI voice agent - LiveKit + LiteLLM
5.7 MiB
Languages
Python 99.1%
Dockerfile 0.8%
Shell 0.1%