From b1b64abed922ac1d44a3869944d1871466dd81f7 Mon Sep 17 00:00:00 2001 From: kanako <4190346+mkanako@users.noreply.github.com> Date: Fri, 28 Mar 2025 14:20:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8Dhandle=5Fdevice.py=20?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E7=B1=BB=E5=9E=8B=E5=AE=9A=E4=B9=89=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E5=AF=BC=E8=87=B4DoubaoLLM=E8=B0=83=E7=94=A8=E6=8A=A5?= =?UTF-8?q?=20400=20=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/xiaozhi-server/plugins_func/functions/handle_device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/xiaozhi-server/plugins_func/functions/handle_device.py b/main/xiaozhi-server/plugins_func/functions/handle_device.py index d564562b..1496f9e6 100644 --- a/main/xiaozhi-server/plugins_func/functions/handle_device.py +++ b/main/xiaozhi-server/plugins_func/functions/handle_device.py @@ -69,7 +69,7 @@ handle_device_function_desc = { "description": "动作名称,可选值:get(获取),set(设置),raise(提高),lower(降低)" }, "value": { - "type": "int", + "type": "number", "description": "值大小,可选值:0-100之间的整数" } },