From e3023189bbd00c28605245a4d97e43badbd6194b Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Tue, 17 Mar 2026 09:18:32 -0400 Subject: [PATCH] Don't raise exceptions for errors --- src/pipecat/services/together/stt.py | 1 - src/pipecat/services/together/tts.py | 1 - 2 files changed, 2 deletions(-) diff --git a/src/pipecat/services/together/stt.py b/src/pipecat/services/together/stt.py index c1ee056f7..247ad9c7d 100644 --- a/src/pipecat/services/together/stt.py +++ b/src/pipecat/services/together/stt.py @@ -362,4 +362,3 @@ class TogetherSTTService(WebsocketSTTService): error_code = error_info.get("code", "") msg = f"Together AI STT error [{error_code}]: {error_msg}" await self.push_error(error_msg=msg) - raise Exception(msg) diff --git a/src/pipecat/services/together/tts.py b/src/pipecat/services/together/tts.py index e3daa3fa0..4b4659450 100644 --- a/src/pipecat/services/together/tts.py +++ b/src/pipecat/services/together/tts.py @@ -357,7 +357,6 @@ class TogetherTTSService(WebsocketTTSService): error_code = error.get("code", "") msg = f"Together AI TTS error [{error_code}]: {error_msg}" await self.push_error(error_msg=msg) - raise Exception(msg) # ------------------------------------------------------------------ # Interruption handling