Merge pull request #1963 from myifeng/fix-tts-message

移除无用的TTS消息
This commit is contained in:
hrz
2025-08-02 08:55:12 +08:00
committed by GitHub
@@ -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)