llama.cpp
445a3785 - Fix XML parser whitespace handling for non-string parameter types

Commit
101 days ago
Fix XML parser whitespace handling for non-string parameter types - seed-oss.cpp: Add p.space() around non-string JSON values to handle whitespace (e.g., `<parameter=arg1>\n42\n</parameter>` now correctly parses as integer 42 instead of string "42"). Also set allow_additional to false for stricter parsing. - qwen3-coder-xml.cpp: Add whitespace handling around JSON values and between XML tags to support indented/formatted tool call output. - glm-4-5.cpp: Add content_suffix to capture text after tool calls in non-reasoning mode. - test-chat.cpp: Fix needle test to build tool schemas from ALL tool calls, not just the first one. This is needed for parallel tool call tests where each call may have different parameter names. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Author
Parents
Loading