llama.cpp
cd209afe - chat: fix magistral template detection and parser format

Commit
192 days ago
chat: fix magistral template detection and parser format - Move magistral detection before ministral_3 in template matching (both use [TOOL_CALLS][ARGS] patterns) - Add "Unsloth" check to distinguish magistral templates - Rewrite PEG parser to match actual template format: [TOOL_CALLS]name[ARGS]{...} (not JSON array with ids) - Update test to reflect format doesn't include tool call ids Enables: magistral:legacy, magistral:experimental 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Author
Committer
Parents
Loading