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:
@@ -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}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user