mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-25 00:23:53 +08:00
Merge pull request #562 from mkanako/fix_handle_device
fix:修复handle_device.py 参数类型定义错误导致DoubaoLLM调用报 400 错误
This commit is contained in:
@@ -69,7 +69,7 @@ handle_device_function_desc = {
|
|||||||
"description": "动作名称,可选值:get(获取),set(设置),raise(提高),lower(降低)"
|
"description": "动作名称,可选值:get(获取),set(设置),raise(提高),lower(降低)"
|
||||||
},
|
},
|
||||||
"value": {
|
"value": {
|
||||||
"type": "int",
|
"type": "number",
|
||||||
"description": "值大小,可选值:0-100之间的整数"
|
"description": "值大小,可选值:0-100之间的整数"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user