From 27b686db8c6369ead5b28fc9b3f572351caba890 Mon Sep 17 00:00:00 2001 From: Paul Kompfner Date: Thu, 12 Mar 2026 11:04:49 -0400 Subject: [PATCH] Don't bother honoring the new `LLMUpdateSettingsFrame.service` field in the deprecated `OpenAIRealtimeBetaLLMService` --- src/pipecat/services/openai_realtime_beta/openai.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/pipecat/services/openai_realtime_beta/openai.py b/src/pipecat/services/openai_realtime_beta/openai.py index cacf8debd..0a6315986 100644 --- a/src/pipecat/services/openai_realtime_beta/openai.py +++ b/src/pipecat/services/openai_realtime_beta/openai.py @@ -386,11 +386,7 @@ class OpenAIRealtimeBetaLLMService(LLMService): # fields, not our Settings fields, so we construct SessionProperties # directly. The frame.delta path falls through to super, which calls # _update_settings → our override handles the rest. - if ( - isinstance(frame, LLMUpdateSettingsFrame) - and frame.delta is None - and (frame.service is None or frame.service is self) - ): + if isinstance(frame, LLMUpdateSettingsFrame) and frame.delta is None: self._session_properties = events.SessionProperties(**frame.settings) await self._send_session_update() await self.push_frame(frame, direction)