servcies(cartesia): no need to send LLMFullResponseEndFrame
Interruptions are already handled by context aggregators.
This commit is contained in:
@@ -210,7 +210,6 @@ class CartesiaTTSService(WordTTSService):
|
|||||||
async def _handle_interruption(self, frame: StartInterruptionFrame, direction: FrameDirection):
|
async def _handle_interruption(self, frame: StartInterruptionFrame, direction: FrameDirection):
|
||||||
await super()._handle_interruption(frame, direction)
|
await super()._handle_interruption(frame, direction)
|
||||||
await self.stop_all_metrics()
|
await self.stop_all_metrics()
|
||||||
await self.push_frame(LLMFullResponseEndFrame())
|
|
||||||
self._context_id = None
|
self._context_id = None
|
||||||
|
|
||||||
async def flush_audio(self):
|
async def flush_audio(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user