leejunhyeok commited on
Commit
d80b65e
·
verified ·
1 Parent(s): 217efdb

Update chat_template.jinja

Browse files
Files changed (1) hide show
  1. chat_template.jinja +1 -1
chat_template.jinja CHANGED
@@ -48,7 +48,7 @@ For each function call return a json object with function name and arguments wit
48
  </tool_call>
49
  {%- endfor %}
50
  {%- endif %}
51
- {%- if message.thinking is defined and message.thinking %}
52
  {{ '<think>' }}
53
  {{ message.thinking }}
54
  {{ '</think>' }}
 
48
  </tool_call>
49
  {%- endfor %}
50
  {%- endif %}
51
+ {%- if message.thinking is defined and message.thinking and not add_generation_prompt %}
52
  {{ '<think>' }}
53
  {{ message.thinking }}
54
  {{ '</think>' }}