From 5f18c3af7016b8ef7984b53afad7861f0e25d8bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Thu, 26 Jun 2025 17:01:18 -0700 Subject: [PATCH] OpenAIRealtimeLLMContext: fix circular dependency --- src/pipecat/services/openai_realtime_beta/frames.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pipecat/services/openai_realtime_beta/frames.py b/src/pipecat/services/openai_realtime_beta/frames.py index c28c9212f..25e7c409c 100644 --- a/src/pipecat/services/openai_realtime_beta/frames.py +++ b/src/pipecat/services/openai_realtime_beta/frames.py @@ -7,9 +7,12 @@ """Custom frame types for OpenAI Realtime API integration.""" from dataclasses import dataclass +from typing import TYPE_CHECKING from pipecat.frames.frames import DataFrame, FunctionCallResultFrame -from pipecat.services.openai_realtime_beta.context import OpenAIRealtimeLLMContext + +if TYPE_CHECKING: + from pipecat.services.openai_realtime_beta.context import OpenAIRealtimeLLMContext @dataclass