Upload chat_template.jinja
Browse files- chat_template.jinja +1 -1
chat_template.jinja
CHANGED
|
@@ -63,7 +63,7 @@
|
|
| 63 |
|
| 64 |
{%- if msg.content %}
|
| 65 |
{%- if "</think>" in msg.content %}
|
| 66 |
-
{%- set content = msg.content.split('</think>')
|
| 67 |
{%- set reasoning_content = msg.content.split('</think>')[0].strip() %}
|
| 68 |
{%- if reasoning_content.startswith("<think>") %}
|
| 69 |
{%- set reasoning_content = reasoning_content[9:].strip() %}
|
|
|
|
| 63 |
|
| 64 |
{%- if msg.content %}
|
| 65 |
{%- if "</think>" in msg.content %}
|
| 66 |
+
{%- set content = (msg.content.split('</think>')|last).strip() %}
|
| 67 |
{%- set reasoning_content = msg.content.split('</think>')[0].strip() %}
|
| 68 |
{%- if reasoning_content.startswith("<think>") %}
|
| 69 |
{%- set reasoning_content = reasoning_content[9:].strip() %}
|