From 10eeffdf31013601165995cd570ef1357702835a Mon Sep 17 00:00:00 2001 From: 3030332422 <3030332422@qq.com> Date: Wed, 1 Apr 2026 09:23:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8Dintent=5Fllm=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E4=B8=8B=E5=B7=A5=E5=85=B7=E4=B8=8D=E5=AD=98=E5=9C=A8?= =?UTF-8?q?=E6=97=B6=E6=9C=AA=E6=AD=A3=E7=A1=AE=E6=92=AD=E6=94=BE=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E4=BF=A1=E6=81=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/xiaozhi-server/core/handle/intentHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/xiaozhi-server/core/handle/intentHandler.py b/main/xiaozhi-server/core/handle/intentHandler.py index f092dfb2..9eccaee7 100644 --- a/main/xiaozhi-server/core/handle/intentHandler.py +++ b/main/xiaozhi-server/core/handle/intentHandler.py @@ -190,7 +190,7 @@ async def process_intent_result( result.action == Action.NOTFOUND or result.action == Action.ERROR ): - text = result.result + text = result.response if result.response else result.result if text is not None: speak_txt(conn, text) elif function_name != "play_music":