From f386722ef9dfd038ae1fe4100b7671086cd02023 Mon Sep 17 00:00:00 2001 From: dhruvladia-sarvam Date: Mon, 2 Mar 2026 20:38:39 +0530 Subject: [PATCH] removing unnecessary logs --- src/pipecat/services/sarvam/stt.py | 5 +---- src/pipecat/services/sarvam/tts.py | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/pipecat/services/sarvam/stt.py b/src/pipecat/services/sarvam/stt.py index f4ebf7574..9e245aece 100644 --- a/src/pipecat/services/sarvam/stt.py +++ b/src/pipecat/services/sarvam/stt.py @@ -516,10 +516,7 @@ class SarvamSTTService(STTService): # Headers are supplied through request_options because this is a # documented SDK parameter that survives SDK signature changes. request_options = {"additional_headers": self._sdk_headers} - logger.debug( - f"Sarvam STT connect request_options.additional_headers: " - f"{request_options['additional_headers']}" - ) + attempts = [kwargs] if "prompt" in kwargs: attempts.append({k: v for k, v in kwargs.items() if k != "prompt"}) diff --git a/src/pipecat/services/sarvam/tts.py b/src/pipecat/services/sarvam/tts.py index e92ade2e5..c18933407 100644 --- a/src/pipecat/services/sarvam/tts.py +++ b/src/pipecat/services/sarvam/tts.py @@ -1021,7 +1021,6 @@ class SarvamTTSService(InterruptibleTTSService): self._websocket = await websocket_connect( self._websocket_url, additional_headers=ws_additional_headers, - user_agent_header=None, ) logger.debug("Connected to Sarvam TTS Websocket") await self._send_config()