mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-25 16:43:55 +08:00
fix:文字回复卡住bug
This commit is contained in:
@@ -102,8 +102,7 @@ async def process_intent_result(conn, intent_result, original_text):
|
||||
if text is None:
|
||||
text = result.result
|
||||
if text is not None:
|
||||
# TODO 将text转换为tts_message_dto
|
||||
pass
|
||||
conn.tts.tts_one_sentence(conn, text)
|
||||
# 将函数执行放在线程池中
|
||||
conn.executor.submit(process_function_call)
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user