Fix empty thought channel in Gemma 4 chat template

#106
Files changed (1) hide show
  1. chat_template.jinja +0 -3
chat_template.jinja CHANGED
@@ -347,8 +347,5 @@
347
  {%- if add_generation_prompt -%}
348
  {%- if ns.prev_message_type != 'tool_response' and ns.prev_message_type != 'tool_call' -%}
349
  {{- '<|turn>model\n' -}}
350
- {%- if not enable_thinking | default(false) -%}
351
- {{- '<|channel>thought\n<channel|>' -}}
352
- {%- endif -%}
353
  {%- endif -%}
354
  {%- endif -%}
 
347
  {%- if add_generation_prompt -%}
348
  {%- if ns.prev_message_type != 'tool_response' and ns.prev_message_type != 'tool_call' -%}
349
  {{- '<|turn>model\n' -}}
 
 
 
350
  {%- endif -%}
351
  {%- endif -%}