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()