fix:修复不启动意图识别,functioncall依旧加载的bug (#691)

update:intent_llm意图识别获取新闻和天气过长,tts容易出错,暂时只支持简单简单工具
This commit is contained in:
hrz
2025-04-07 13:23:22 +08:00
committed by GitHub
parent 17bcaba026
commit d9cd9acd27
10 changed files with 228 additions and 181 deletions
@@ -263,6 +263,8 @@ def register_device_type(descriptor):
# 用于接受前端设备推送的搜索iot描述
async def handleIotDescriptors(conn, descriptors):
if not conn.use_function_call_mode:
return
wait_max_time = 5
while conn.func_handler is None or not conn.func_handler.finish_init:
await asyncio.sleep(1)