llama.cpp
498fb977 - refactor: introduce format structs for PEG parser helpers

Commit
102 days ago
refactor: introduce format structs for PEG parser helpers Add json_tool_call_format and generic_tool_call_format structs to replace positional arguments in build_json_tool_calls_peg_parser and build_generic_tool_calls_peg_parser. This makes the API more readable and self-documenting. - json_tool_call_format: for JSON-style tool calls with name/arguments - generic_tool_call_format: for XML-style tool calls with parameters Updated 18 parser files to use the new struct-based approach. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Author
Parents
Loading