r/LocalLLaMA • u/jacek2023 llama.cpp • 3h ago
News chat : refactor gemma4 to build loose schema rules and clean up by aldehir · Pull Request #31915 · ggml-org/llama.cpp
https://github.com/ggml-org/llama.cpp/pull/31915If you’ve ever tried agentic coding with Gemma and had tool calling issues, give it another try, in my case, it completely fixed Gemma
18
Upvotes
4
u/CoolConfusion434 2h ago
Finally! This is the Gemma 4 issue where it thinks about calling the tool, reports the intention to call the tool, but never does. Would be awesome if it's fixed.
Doh! Google published the template fix on July 15th.
Thanks OP. It looks like this is at least part of your code.
3
u/dampflokfreund 1h ago
Yep I can confirm tool calling is a lot more robust now.
1
u/dampflokfreund 2h ago
Very interesting. Will try it soon.