diff --git a/src/pipecat/services/google/llm.py b/src/pipecat/services/google/llm.py index adb2664bb..fd6c2c54e 100644 --- a/src/pipecat/services/google/llm.py +++ b/src/pipecat/services/google/llm.py @@ -40,7 +40,6 @@ from pipecat.frames.frames import ( LLMThoughtStartFrame, LLMThoughtTextFrame, LLMUpdateSettingsFrame, - UserImageRawFrame, ) from pipecat.metrics.metrics import LLMTokenUsage from pipecat.processors.aggregators.llm_context import LLMContext @@ -199,22 +198,6 @@ class GoogleAssistantContextAggregator(OpenAIAssistantContextAggregator): if part.function_response and part.function_response.id == tool_call_id: part.function_response.response = {"value": json.dumps(result)} - async def handle_user_image_frame(self, frame: UserImageRawFrame): - """Handle user image frame. - - Args: - frame: Frame containing user image data and request context. - """ - await self._update_function_call_result( - frame.request.function_name, frame.request.tool_call_id, "COMPLETED" - ) - self._context.add_image_frame_message( - format=frame.format, - size=frame.size, - image=frame.image, - text=frame.request.context, - ) - @dataclass class GoogleContextAggregatorPair: