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
" {%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping -%}"
5004
-
" {%- for tool_call in message.tool_call -%}"
5004
+
" {%- for tool_call in message.tool_calls -%}"
5005
5005
" {%- if tool_call.function is defined -%}"
5006
5006
" {%- set tool_call = tool_call.function -%}"
5007
5007
" {%- endif -%}"
@@ -5016,7 +5016,7 @@ class Qwen35ChatHandler(MTMDChatHandler):
5016
5016
" {%- endif -%}"
5017
5017
" {%- if tool_call.arguments is defined -%}"
5018
5018
" {%- for (args_name, args_value) in tool_calls.arguments | items -%}"
5019
-
" {{- '<parameter=' + args.name + '>\n' -}}"
5019
+
" {{- '<parameter=' + args_name + '>\n' -}}"
5020
5020
" {%- set args_value = args_value | tojson | safe if args_value is mapping or args_value is sequence and args_value is not string else args_value | string -%}"
0 commit comments