Fix templates for server tests

This commit is contained in:
Piotr Wilkin 2026-02-16 15:31:40 +01:00
parent a3e07b3252
commit 6e42723899
3 changed files with 3 additions and 2 deletions

View File

@ -153,4 +153,4 @@ The following instructions take precedence over instructions in the default prea
]<|END_TOOL_RESULT|><|END_OF_TURN_TOKEN|>
{%- endif %}
{%- endfor %}<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>
{%- endfor %}<|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>{%- if not enable_thinking -%}<|START_THINKING|><|END_THINKING|>{%- endif %}

View File

@ -59,4 +59,5 @@
{%- endfor %}
{%- if add_generation_prompt %}
{{- '<|im_start|>assistant\n<think>\n' }}
{%- if not enable_thinking -%}{{- '</think>' -}}{%- endif -%}
{%- endif %}

View File

@ -43,5 +43,5 @@
{%- endfor -%}
{%- if ns.is_tool -%}{{'<tool▁outputs▁end>'}}
{%- endif -%}
{%- if add_generation_prompt and not ns.is_tool -%}{{'<Assistant><think>\n'}}
{%- if add_generation_prompt and not ns.is_tool -%}{{'<Assistant><think>\n'}}{% if not enable_thinking %}{{- '</think>' -}}{% endif %}
{%- endif %}