Skip to content

Commit 10a6abd

Browse files
committed
fix(Qwen35ChatHandler): Correct CHAT_FORMAT tool_call typo
Signed-off-by: JamePeng <jame_peng@sina.com>
1 parent a5b4762 commit 10a6abd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

llama_cpp/llama_chat_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5338,7 +5338,7 @@ class Qwen35ChatHandler(MTMDChatHandler):
53385338
" {{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' -}}"
53395339
" {%- endif -%}"
53405340
" {%- if tool_call.arguments is defined -%}"
5341-
" {%- for (args_name, args_value) in tool_calls.arguments | items -%}"
5341+
" {%- for (args_name, args_value) in tool_call.arguments | items -%}"
53425342
" {{- '<parameter=' + args_name + '>\n' -}}"
53435343
" {%- 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 -%}"
53445344
" {{- args_value -}}"

0 commit comments

Comments
 (0)