llama.cpp PR #31915 fixes Gemma4 tool calling, user reports it "completely fixed" agentic coding

jacek2023 · reddit · 2026-11-12

llama.cpp merged PR #31915, refactoring gemma4's chat template to build loose schema rules (+416/-507 across 8 files). Poster jacek2023 reports that if you've had tool calling issues with Gemma in agentic coding, it's worth another try: "in my case, it completely fixed Gemma."

Directly useful for anyone running Gemma models in local agent workflows.

Original post →

More from coding & agent

coding & agent channel →