Skip to content

Commit b51eaf3

Browse files
bjjyangw-dev
authored andcommitted
[Frontend] Fix typo in tool chat templates for llama3.2 and toolace (vllm-project#14501)
Signed-off-by: Ben Jackson <[email protected]> Signed-off-by: Yang Wang <[email protected]>
1 parent 76555fa commit b51eaf3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/tool_chat_template_llama3.2_pythonic.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
{{- tool_call.name + '(' -}}
7777
{%- for param in tool_call.arguments %}
7878
{{- param + '=' -}}
79-
{{- "%sr" | format(tool_call.arguments[param]) -}}
79+
{{- "%s" | format(tool_call.arguments[param]) -}}
8080
{% if not loop.last %}, {% endif %}
8181
{%- endfor %}
8282
{{- ')' -}}

examples/tool_chat_template_toolace.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
{{- tool_call.name + '(' -}}
4545
{%- for param in tool_call.arguments %}
4646
{{- param + '=' -}}
47-
{{- "%sr" | format(tool_call.arguments[param]) -}}
47+
{{- "%s" | format(tool_call.arguments[param]) -}}
4848
{% if not loop.last %}, {% endif %}
4949
{%- endfor %}
5050
{{- ')' -}}

0 commit comments

Comments
 (0)