Update chat_template.jinja
Browse files- chat_template.jinja +1 -1
chat_template.jinja
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
{%- set tools = custom_tools %}
|
| 4 |
{%- endif %}
|
| 5 |
{%- if tools is defined and tools %}
|
| 6 |
-
{%- set tool_definition = tool_definition
|
| 7 |
{%- else %}
|
| 8 |
{%- set tools = none %}
|
| 9 |
{%- endif %}
|
|
|
|
| 3 |
{%- set tools = custom_tools %}
|
| 4 |
{%- endif %}
|
| 5 |
{%- if tools is defined and tools %}
|
| 6 |
+
{%- set tool_definition = (tool_definition|string) + ((tools | tojson(indent=4))|string) %}
|
| 7 |
{%- else %}
|
| 8 |
{%- set tools = none %}
|
| 9 |
{%- endif %}
|