llama.cpp merges refactor of Gemma 4 chat schema rules and cleanup
The pull request is titled "chat : refactor gemma4 to build loose schema rules and clean up" and belongs to the llama.cpp project in the ggml-org repository. Its author is aldehir.
The maintainer ngxson approved the changes on 8 November 2026. On 11 November 2026, aldehir added the "merge ready" label, which a maintainer uses to show that changes are final and ready to merge.
The pull request is now merged.
Read the original github.comDiscussion
Discussion
Commenters say tool calling[1] with Gemma 4 has become much more reliable. One notes that the official Gemma 4 chat template[2] fixed the problems the old workaround handled, and another suggests the pi-tool-repair extension for pi, with Gemma models added to its exception list.
Links from the post and discussion
Sources
-
GitHub
chat : refactor gemma4 to build loose schema rules and clean up by aldehir · Pull Request #31915 · ggml-org/llama.cpp


