fix: default clear_thinking=true (README already documented this; prevents the multi-turn reasoning-replay loop)
Browse files- 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
|
| 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) -%}
|