llama.cpp
e7b8c265 - Fix Mistral Nemo and Functionary V3.2 parser tool call extraction

Commit
107 days ago
Fix Mistral Nemo and Functionary V3.2 parser tool call extraction **Mistral Nemo (5/5 passing, was 2/5):** - Parser: Removed p.repeat() wrapper - the [TOOL_CALLS] token appears once with the entire JSON array, not once per tool call - Tests: Set tool_calls_have_ids=true and generate 9-character alphanumeric IDs (e.g., "call00000") as required by template **Functionary V3.2 (5/5 passing, was 2/5):** - Parser: Expect >>> prefix for ALL tool calls (template generates >>> for every call, not just subsequent ones) - Parser: Use p.until_one_of() for trailing content to exclude end tokens like <|eot_id|> from the captured content 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Author
Parents
Loading