fix: unrecognized content part log for gemini tool call content (#6400)

base

Co-authored-by: Letta Bot <noreply@letta.com>
This commit is contained in:
jnjpng
2025-11-25 15:13:12 -08:00
committed by Caren Thomas
parent a101b6c4e9
commit 2c702785d7

View File

@@ -521,7 +521,9 @@ class Message(BaseMessage):
run_id=self.run_id,
)
)
elif isinstance(content_part, ToolCallContent):
# for Gemini, we need to pass in tool calls as part of the content
continue
else:
logger.warning(f"Unrecognized content part in assistant message: {content_part}")