mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-22 07:03:53 +08:00
fix: openAi schema不支持list
This commit is contained in:
@@ -31,7 +31,8 @@ hass_set_state_function_desc = {
|
||||
"description": "只有在设置静音操作时才需要,设置静音的时候该值为true,取消静音时该值为false",
|
||||
},
|
||||
"rgb_color": {
|
||||
"type": "list",
|
||||
"type": "array",
|
||||
"items": {"type": "integer"},
|
||||
"description": "只有在设置颜色时需要,这里填目标颜色的rgb值",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user