diff --git a/livekit-plugins/livekit-plugins-google/livekit/plugins/google/beta/realtime/realtime_api.py b/livekit-plugins/livekit-plugins-google/livekit/plugins/google/beta/realtime/realtime_api.py index cd9664578..fba5a3b8b 100644 --- a/livekit-plugins/livekit-plugins-google/livekit/plugins/google/beta/realtime/realtime_api.py +++ b/livekit-plugins/livekit-plugins-google/livekit/plugins/google/beta/realtime/realtime_api.py @@ -7,6 +7,14 @@ from dataclasses import dataclass from typing import AsyncIterable, Literal +from livekit import rtc +from livekit.agents import llm, utils +from livekit.agents.llm.function_context import _create_ai_function_info +from livekit.agents.multimodal import ( + RealtimeAPI, + RealtimeAPISession, +) + from google import genai # type: ignore from google.genai.types import ( # type: ignore FunctionResponse, @@ -17,15 +25,8 @@ SpeechConfig, VoiceConfig, ) -from livekit import rtc -from livekit.agents import llm, utils -from livekit.agents.llm.function_context import _create_ai_function_info -from livekit.agents.multimodal import ( - RealtimeAPI, - RealtimeAPISession, -) -from ..log import logger +from ...log import logger from .api_proto import ( ClientEvents, LiveAPIModels,