From 355fe01cb7e4a82945ed1d6db0ffd4dc2f753598 Mon Sep 17 00:00:00 2001 From: Kwindla Hultman Kramer Date: Wed, 17 Jul 2024 20:28:27 -0700 Subject: [PATCH] fixed forgotten renames --- src/pipecat/services/cartesia.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pipecat/services/cartesia.py b/src/pipecat/services/cartesia.py index ade1e8ab4..be0d80f0b 100644 --- a/src/pipecat/services/cartesia.py +++ b/src/pipecat/services/cartesia.py @@ -106,7 +106,7 @@ async def _connect(self): logger.exception(f"{self} initialization error: {e}") self._websocket = None - async def disconnect(self): + async def _disconnect(self): try: if self._context_appending_task: self._context_appending_task.cancel() @@ -126,8 +126,8 @@ async def disconnect(self): except Exception as e: logger.exception(f"{self} error closing websocket: {e}") - async def handle_interruption(self, frame: StartInterruptionFrame, direction: FrameDirection): - await super().handle_interruption(frame, direction) + async def _handle_interruption(self, frame: StartInterruptionFrame, direction: FrameDirection): + await super()._handle_interruption(frame, direction) self._context_id = None self._context_id_start_timestamp = None self._timestamped_words_buffer = []