ZHANGYUXUAN-zR aivashov commited on
Commit
7b3b5f8
·
verified ·
1 Parent(s): 54380d8

Added endif in add_generation_prompt part (#1)

Browse files

- Added `endif ` in `add_generation_prompt ` part (43fabf5ab6202877c1d769bc98cf1b0da5684830)


Co-authored-by: Aleksei Ivashov <[email protected]>

Files changed (1) hide show
  1. chat_template.jinja +2 -1
chat_template.jinja CHANGED
@@ -82,4 +82,5 @@ For each function call, output the function name and arguments within the follow
82
  {%- endif -%}
83
  {%- endfor -%}
84
  {%- if add_generation_prompt -%}
85
- <|assistant|>{{- '</think>' if (enable_thinking is defined and not enable_thinking) else '<think>' -}}
 
 
82
  {%- endif -%}
83
  {%- endfor -%}
84
  {%- if add_generation_prompt -%}
85
+ <|assistant|>{{- '</think>' if (enable_thinking is defined and not enable_thinking) else '<think>' -}}
86
+ {%- endif -%}