llama.cpp
8efcca36 - Fix Functionary V3.2 parser: handle first tool call without >>> prefix

Commit
101 days ago
Fix Functionary V3.2 parser: handle first tool call without >>> prefix The template's generation prompt includes >>>, so the delta for the first tool call doesn't have the >>> prefix. This commit: - Splits tool call handling into first_tool_call (no >>>) and subsequent_tool_call (with >>>) - Adds empty TOOL_OPEN tag for first tool to create tool call object - Updates grammar to match first tool without >>>, subsequent tools with >>> - Supports both "with content" (all\n...) and "without content" patterns 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Author
Parents
Loading