Update chat_template.jinja
Browse files- chat_template.jinja +3 -0
chat_template.jinja
CHANGED
|
@@ -139,6 +139,9 @@ declaration:{{- tool_data['function']['name'] -}}
|
|
| 139 |
{%- endfor -%}
|
| 140 |
{%- endif -%}
|
| 141 |
{%- set loop_messages = messages[1:] -%}
|
|
|
|
|
|
|
|
|
|
| 142 |
{%- endif -%}
|
| 143 |
{%- if tools -%}
|
| 144 |
{%- for tool in tools %}
|
|
|
|
| 139 |
{%- endfor -%}
|
| 140 |
{%- endif -%}
|
| 141 |
{%- set loop_messages = messages[1:] -%}
|
| 142 |
+
{%- else -%}
|
| 143 |
+
{{- 'You are a model that can do function calling with the following functions' -}}
|
| 144 |
+
{%- set loop_messages = messages -%}
|
| 145 |
{%- endif -%}
|
| 146 |
{%- if tools -%}
|
| 147 |
{%- for tool in tools %}
|