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
..
imageproc deepseekocr 2025-11-18 16:11:37 -08:00
input batch: use tensors for outputs (#12185) 2025-09-15 14:33:06 -07:00
models tokenizer: add byte fallback for SentencePiece BPE encoding (#15232) 2026-04-02 13:04:45 -07:00
parsers model/parsers: suppress extra gemma4 closing tool tags (#15370) 2026-04-06 12:41:33 -07:00
renderers Add support for gemma4 (#15214) 2026-04-02 11:33:33 -07:00
model.go Add support for gemma4 (#15214) 2026-04-02 11:33:33 -07:00
model_test.go Add support for gemma4 (#15214) 2026-04-02 11:33:33 -07:00