mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-18 11:45:39 +08:00
[Frontend] Fix typo in tool chat templates for llama3.2 and toolace (#14501)
Signed-off-by: Ben Jackson <ben@ben.com>
This commit is contained in:
parent
ba10801961
commit
eb07c8cb5b
@ -76,7 +76,7 @@
|
|||||||
{{- tool_call.name + '(' -}}
|
{{- tool_call.name + '(' -}}
|
||||||
{%- for param in tool_call.arguments %}
|
{%- for param in tool_call.arguments %}
|
||||||
{{- param + '=' -}}
|
{{- param + '=' -}}
|
||||||
{{- "%sr" | format(tool_call.arguments[param]) -}}
|
{{- "%s" | format(tool_call.arguments[param]) -}}
|
||||||
{% if not loop.last %}, {% endif %}
|
{% if not loop.last %}, {% endif %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{{- ')' -}}
|
{{- ')' -}}
|
||||||
|
|||||||
@ -44,7 +44,7 @@
|
|||||||
{{- tool_call.name + '(' -}}
|
{{- tool_call.name + '(' -}}
|
||||||
{%- for param in tool_call.arguments %}
|
{%- for param in tool_call.arguments %}
|
||||||
{{- param + '=' -}}
|
{{- param + '=' -}}
|
||||||
{{- "%sr" | format(tool_call.arguments[param]) -}}
|
{{- "%s" | format(tool_call.arguments[param]) -}}
|
||||||
{% if not loop.last %}, {% endif %}
|
{% if not loop.last %}, {% endif %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{{- ')' -}}
|
{{- ')' -}}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user