From c8a2c9bbd4a579279c4228a072e1ce00ae73e20d Mon Sep 17 00:00:00 2001 From: chan Date: Wed, 30 Jul 2025 18:53:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dqwen=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E8=BF=94=E5=9B=9Etoolcall=E7=9A=84arguments=E4=B8=BANone?= =?UTF-8?q?=E6=97=B6=E5=AF=BC=E8=87=B4=E5=90=8E=E7=BB=AD=E8=AF=B7=E6=B1=82?= =?UTF-8?q?400?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/xiaozhi-server/core/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/xiaozhi-server/core/connection.py b/main/xiaozhi-server/core/connection.py index f9ab946d..c838a1e0 100644 --- a/main/xiaozhi-server/core/connection.py +++ b/main/xiaozhi-server/core/connection.py @@ -859,7 +859,7 @@ class ConnectionHandler: { "id": function_id, "function": { - "arguments": function_arguments, + "arguments": '{}' if function_arguments == '' else function_arguments, "name": function_name, }, "type": "function",