From d02c56a0e09bc7bff0b3ee8ab512be66949e69c1 Mon Sep 17 00:00:00 2001 From: Jad Date: Sun, 30 Mar 2025 13:03:01 +0800 Subject: [PATCH] =?UTF-8?q?feat(server):=20=E4=BD=BF=E7=94=A8=E4=B8=BB?= =?UTF-8?q?=E5=8A=A8=E9=80=80=E5=87=BA=E6=8C=87=E4=BB=A4=E6=97=B6=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=88=B0=E8=AE=BE=E5=A4=87=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/xiaozhi-server/core/handle/intentHandler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main/xiaozhi-server/core/handle/intentHandler.py b/main/xiaozhi-server/core/handle/intentHandler.py index 5105a4d9..5b840e97 100644 --- a/main/xiaozhi-server/core/handle/intentHandler.py +++ b/main/xiaozhi-server/core/handle/intentHandler.py @@ -37,6 +37,7 @@ async def check_direct_exit(conn, text): for cmd in cmd_exit: if text == cmd: logger.bind(tag=TAG).info(f"识别到明确的退出命令: {text}") + await send_stt_message(conn, text) await conn.close() return True return False