mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-27 04:49:47 +01:00
Merge pull request #3063 from xinnan-tech/py-bug-fix
fix:修复intent_llm模式下工具不存在时未正确播放提示信息的问题
This commit is contained in:
commit
943622969a
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ async def process_intent_result(
|
||||||
result.action == Action.NOTFOUND
|
result.action == Action.NOTFOUND
|
||||||
or result.action == Action.ERROR
|
or result.action == Action.ERROR
|
||||||
):
|
):
|
||||||
text = result.result
|
text = result.response if result.response else result.result
|
||||||
if text is not None:
|
if text is not None:
|
||||||
speak_txt(conn, text)
|
speak_txt(conn, text)
|
||||||
elif function_name != "play_music":
|
elif function_name != "play_music":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue