xu-song commited on
Commit
6b7bb27
·
verified ·
1 Parent(s): 8c69f57

Update chat_template.jinja

Browse files
Files changed (1) hide show
  1. chat_template.jinja +1 -1
chat_template.jinja CHANGED
@@ -1,6 +1,6 @@
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) -%}
 
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 (enable_thinking is not defined or enable_thinking) and 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) -%}