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