Skip to content

Commit

Permalink
fixed forgotten renames
Browse files Browse the repository at this point in the history
  • Loading branch information
kwindla committed Jul 18, 2024
1 parent 9d050a1 commit 355fe01
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pipecat/services/cartesia.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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 = []
Expand Down

0 comments on commit 355fe01

Please sign in to comment.