You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/tool_chat_template_mistral_parallel.jinja
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,7 @@
6
6
{%- endif%}
7
7
{%- ifnottoolsisdefined%}
8
8
{%- settools = none%}
9
-
{%- endif%}
10
-
{%- iftoolsisdefined%}
9
+
{%- eliftoolsisnotnone%}
11
10
{%- setparallel_tool_prompt = "You are a helpful assistant that can call tools. If you call one or more tools, format them in a single JSON array or objects, where each object is a tool call, not as separate objects outside of an array or multiple arrays. Use the format [{\"name\": tool call name, \"arguments\": tool call arguments}, additional tool calls] if you call more than one tool. If you call tools, do not attempt to interpret them or otherwise provide a response until you receive a tool call result that you can interpret for the user."%}
0 commit comments