From 52ece87ac9c80dd94cbbcfd06960dd21c9581ea9 Mon Sep 17 00:00:00 2001 From: Mark Backman Date: Tue, 31 Mar 2026 23:01:23 -0400 Subject: [PATCH] Remove deprecated send_transcription_frames param from AWSNovaSonicLLMService --- src/pipecat/services/aws/nova_sonic/llm.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/pipecat/services/aws/nova_sonic/llm.py b/src/pipecat/services/aws/nova_sonic/llm.py index 9aa36c5db..6f330babb 100644 --- a/src/pipecat/services/aws/nova_sonic/llm.py +++ b/src/pipecat/services/aws/nova_sonic/llm.py @@ -258,7 +258,6 @@ class AWSNovaSonicLLMService(LLMService): settings: Optional[Settings] = None, system_instruction: Optional[str] = None, tools: Optional[ToolsSchema] = None, - send_transcription_frames: bool = True, **kwargs, ): """Initializes the AWS Nova Sonic LLM service. @@ -302,12 +301,6 @@ class AWSNovaSonicLLMService(LLMService): .. deprecated:: 0.0.105 Use ``settings=AWSNovaSonicLLMService.Settings(system_instruction=...)`` instead. tools: Available tools/functions for the model to use. - send_transcription_frames: Whether to emit transcription frames. - - .. deprecated:: 0.0.91 - This parameter is deprecated and will be removed in a future version. - Transcription frames are always sent. - **kwargs: Additional arguments passed to the parent LLMService. """ # 1. Initialize default_settings with hardcoded defaults @@ -391,18 +384,6 @@ class AWSNovaSonicLLMService(LLMService): ) self._settings.endpointing_sensitivity = None - if not send_transcription_frames: - import warnings - - with warnings.catch_warnings(): - warnings.simplefilter("always") - warnings.warn( - "`send_transcription_frames` is deprecated and will be removed in a future version. " - "Transcription frames are always sent.", - DeprecationWarning, - stacklevel=2, - ) - self._context: Optional[LLMContext] = None self._stream: Optional[ DuplexEventStream[