mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-25 04:29:51 +01:00
Merge pull request #2734 from xinnan-tech/py_fix_listenmessage
fix:修复唤醒状态
This commit is contained in:
commit
a00f8e4b76
1 changed files with 1 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ class ListenTextMessageHandler(TextMessageHandler):
|
|||
enqueue_asr_report(conn, "嘿,你好呀", [])
|
||||
await startToChat(conn, "嘿,你好呀")
|
||||
else:
|
||||
conn.just_woken_up = True
|
||||
# 上报纯文字数据(复用ASR上报功能,但不提供音频数据)
|
||||
enqueue_asr_report(conn, original_text, [])
|
||||
# 否则需要LLM对文字内容进行答复
|
||||
|
|
|
|||
Loading…
Reference in a new issue