TTSService: reset processing text during interruptions

This commit is contained in:
Aleix Conchillo Flaqué
2025-02-14 16:41:10 -08:00
parent a107b1cb4b
commit 1f5b790dd0

View File

@@ -365,6 +365,7 @@ class TTSService(AIService):
async def _handle_interruption(self, frame: StartInterruptionFrame, direction: FrameDirection):
self._current_sentence = ""
self._processing_text = False
if self._text_filter:
self._text_filter.handle_interruption()
await self.push_frame(frame, direction)