mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-26 17:13:54 +08:00
refactor: 优化相关打断处理
This commit is contained in:
@@ -219,8 +219,8 @@ async def process_intent_result(
|
||||
|
||||
|
||||
def speak_txt(conn: "ConnectionHandler", text):
|
||||
# 记录文本
|
||||
conn.tts_MessageText = text
|
||||
# 记录文本到 sentence_id 映射
|
||||
conn.tts.store_tts_text(conn.sentence_id, text)
|
||||
|
||||
conn.tts.tts_text_queue.put(
|
||||
TTSMessageDTO(
|
||||
|
||||
Reference in New Issue
Block a user