llama.cpp
0cc375fe - Fix chat parsers: use correct trigger_rule name for lazy grammar

Commit
112 days ago
Fix chat parsers: use correct trigger_rule name for lazy grammar Change p.trigger_rule("tool-call", ...) to p.trigger_rule("tool-call-root", ...) in 18 chat parsers to enable proper lazy grammar generation. The trigger_rule marks entry points for lazy grammar generation. Using the correct name "tool-call-root" ensures that the grammar system can properly identify and optimize rules reachable from tool call parsing. Affected parsers: - apertus, apriel-1-5, command-r7b, deepseek-r1, deepseek-v3-1 - firefunction-v2, functionary-v3-1, functionary-v3-2, gpt-oss - hermes-2-pro, kimi-k2, lfm2, llama-3-x, magistral - ministral-3, mistral-nemo, nemotron-v2, xiaomi-mimo 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Author
Parents
Loading