diff --git a/livekit-plugins/livekit-plugins-deepgram/livekit/plugins/deepgram/tts.py b/livekit-plugins/livekit-plugins-deepgram/livekit/plugins/deepgram/tts.py index c866a56c2..401c26be7 100644 --- a/livekit-plugins/livekit-plugins-deepgram/livekit/plugins/deepgram/tts.py +++ b/livekit-plugins/livekit-plugins-deepgram/livekit/plugins/deepgram/tts.py @@ -391,7 +391,7 @@ async def _connection_timeout(): ) except asyncio.TimeoutError as e: - raise APITimeoutError(request_id=request_id) from e + raise APITimeoutError() from e except aiohttp.ClientResponseError as e: raise APIStatusError( message=e.message, @@ -400,7 +400,7 @@ async def _connection_timeout(): body=None, ) from e except Exception as e: - raise APIConnectionError(request_id=request_id) from e + raise APIConnectionError() from e finally: if ws is not None and not ws.closed: await ws.close()