dealignai commited on
Commit
6a4770b
·
verified ·
1 Parent(s): 315cac2

fix: default clear_thinking=true (README already documented this; prevents the multi-turn reasoning-replay loop)

Browse files
Files changed (1) hide show
  1. chat_template.jinja +1 -1
chat_template.jinja CHANGED
@@ -1,7 +1,7 @@
1
  [gMASK]<sop>
2
  {%- set effective_reasoning_effort = reasoning_effort if reasoning_effort is defined and reasoning_effort in ['low', 'high'] else 'max' -%}
3
  {%- if effective_reasoning_effort is not none -%}<|system|>Reasoning Effort: {{ effective_reasoning_effort | capitalize }}{%- endif -%}
4
- {%- set clear_thinking = clear_thinking if clear_thinking is defined else false -%}
5
  {%- if tools -%}
6
  {%- macro tool_to_json(tool) -%}
7
  {%- set ns_tool = namespace(first=true) -%}
 
1
  [gMASK]<sop>
2
  {%- set effective_reasoning_effort = reasoning_effort if reasoning_effort is defined and reasoning_effort in ['low', 'high'] else 'max' -%}
3
  {%- if effective_reasoning_effort is not none -%}<|system|>Reasoning Effort: {{ effective_reasoning_effort | capitalize }}{%- endif -%}
4
+ {%- set clear_thinking = clear_thinking if clear_thinking is defined else true -%}
5
  {%- if tools -%}
6
  {%- macro tool_to_json(tool) -%}
7
  {%- set ns_tool = namespace(first=true) -%}