mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
移除无用的tts消息sentence_end
This commit is contained in:
parent
14b7631dd6
commit
ef25e82544
1 changed files with 0 additions and 2 deletions
|
|
@ -21,8 +21,6 @@ async def sendAudioMessage(conn, sentenceType, audios, text):
|
|||
|
||||
await sendAudio(conn, audios, pre_buffer)
|
||||
|
||||
await send_tts_message(conn, "sentence_end", text)
|
||||
|
||||
# 发送结束消息(如果是最后一个文本)
|
||||
if conn.llm_finish_task and sentenceType == SentenceType.LAST:
|
||||
await send_tts_message(conn, "stop", None)
|
||||
|
|
|
|||
Loading…
Reference in a new issue