llama.cpp
a424920b - fix(functiongemma): parser and template bug fixes

Commit
110 days ago
fix(functiongemma): parser and template bug fixes Parser: Use state machine to find closing brace, properly handling `}` characters inside `<escape>` delimiters. Previously used [^}]* regex which would break on values like `{key:<escape>foo}bar<escape>}`. Template: Output tool calls in native FunctionGemma format `{key:<escape>value<escape>}` instead of JSON format `{"key":"value"}`. This ensures the model sees correct examples in conversation history. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Author
Committer
Parents
Loading