ollama/model/renderers/testdata
Daniel Hiltgen 8a0016f826
model: align gemma4 chat template handling (#17182)
Incorporate the upstream Gemma4 chat template refinements for tool-calling stability, turn closure, and multi-turn reasoning. This updates the native renderer and checked-in HF template fixtures to keep adjacent assistant/tool continuations in the same model turn, add the post-tool thought-channel cue when thinking is enabled, and match Google's default of not replaying historical thinking before a later user turn.

Also preserve null tool arguments through Gemma4 rendering/parsing and extend the Jinja2 parity coverage for these upstream behaviors.
2026-07-14 15:42:04 -07:00
..
gemma4_31b_chat_template.jinja2 model: align gemma4 chat template handling (#17182) 2026-07-14 15:42:04 -07:00
gemma4_e2b_chat_template.jinja2 model: align gemma4 chat template handling (#17182) 2026-07-14 15:42:04 -07:00
nemotron3nano_chat_template.jinja2 New models (#15861) 2026-04-28 11:50:12 -07:00