fix: 优化流控音频播放 wechat聊天模式错误STT消息发送

This commit is contained in:
Sakura-RanChen
2025-08-22 17:10:36 +08:00
parent 60f8dbf418
commit 1988bced60
8 changed files with 67 additions and 287 deletions
@@ -42,7 +42,6 @@ class TTSProvider(TTSProviderBase):
self.processed_chars = 0
self.tts_text_buff = []
self.before_stop_play_files.clear()
self.reset_flow_controller()
elif ContentType.TEXT == message.content_type:
self.tts_text_buff.append(message.content_detail)
segment_text = self._get_segment_text()