Files
ollama-ollama/model
Devon Rifkin 34a790a2e6 model/parsers: suppress extra gemma4 closing tool tags (#15370)
We've observed Gemma 4 occasionally emitting extra <tool_call|> tags
after a valid tool call. We suppress leading close tags in this
immediate post-tool-call state so the extra close tags do not leak into
assistant content. The tradeoff is that if the model intentionally
begins its next content span with the literal string "<tool_call|>", we
will erroneously treat it as noise and drop it.
2026-04-06 12:41:33 -07:00
..
2025-11-18 16:11:37 -08:00
2026-04-02 11:33:33 -07:00
2026-04-02 11:33:33 -07:00
2026-04-02 11:33:33 -07:00