From 7ed4fe50d43310069950d2febc5df66ed7f961fa Mon Sep 17 00:00:00 2001 From: Pete <78183014+getchannel@users.noreply.github.com> Date: Thu, 3 Jul 2025 19:39:44 -0400 Subject: [PATCH] Update gemini.py -FunctionCallFromLLM -Delete duplicate Gemini imports --- src/pipecat/services/gemini_multimodal_live/gemini.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/pipecat/services/gemini_multimodal_live/gemini.py b/src/pipecat/services/gemini_multimodal_live/gemini.py index d7217b00b..792f904f5 100644 --- a/src/pipecat/services/gemini_multimodal_live/gemini.py +++ b/src/pipecat/services/gemini_multimodal_live/gemini.py @@ -60,7 +60,7 @@ from pipecat.processors.aggregators.openai_llm_context import ( ) from pipecat.processors.frame_processor import FrameDirection from pipecat.services.google.frames import LLMSearchOrigin, LLMSearchResponseFrame, LLMSearchResult -from pipecat.services.llm_service import LLMService +from pipecat.services.llm_service import FunctionCallFromLLM, LLMService from pipecat.services.openai.llm import ( @@ -74,14 +74,11 @@ from pipecat.utils.time import time_now_iso8601 from pipecat.utils.tracing.service_decorators import traced_gemini_live, traced_stt from . import events -from .file_api import GeminiFileAPI from .audio_transcriber import AudioTranscriber from .file_api import GeminiFileAPI -from .file_api import GeminiFileAPI - try: import websockets except ModuleNotFoundError as e: