Update chat_template.jinja
#3
by
leejunhyeok
- opened
- 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>' }}
|