In release b12388, llama.cpp fixes a handling issue with Gemma 4 tool calls: a tool call may begin while the thought channel is still open. Chat processing is now meant to stop reasoning when it encounters a tool-call marker as well, rather than waiting only for the usual channel ending.
According to the release note, the model can open the thought channel and move directly to a tool call without closing it first. The change therefore adds <channel|> or <|tool_call> to the stated stop condition. It is relevant to developers using Gemma 4 through llama.cpp in chat mode with tool calls; the change concerns detecting this transition in the conversation format.
The brief note identifies the fix as #32232 and refers to #32231. It gives no test results, details about other models or configurations, or concrete usage examples; the available text ends after mentioning an unclosed channel. The original release note contains the entry and its references: https://github.com/ggml-org/llama.cpp/releases/tag/b12388
🇬🇧 https://github.com/ggml-org/llama.cpp/releases/tag/b12388