mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
This adds support for models like Qwen3-Coder-Next that output XML-style tool calls instead of native JSON tool calls when running via llama.cpp. XML format supported: <function=TOOL_NAME> <parameter=PARAM_NAME>value</parameter> </function> Changes: - Add XmlToolCallParser to detect and parse XML tool calls in text stream - Integrate parser into Task.ts text chunk processing - Convert XML tool calls to standard tool_call events for execution - Add comprehensive tests for the parser Fixes #11219 |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| AskIgnoredError.ts | ||
| build-tools.ts | ||
| mergeConsecutiveApiMessages.ts | ||
| Task.ts | ||
| validateToolResultIds.ts | ||