Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkbrnd committed Feb 12, 2025
1 parent b634bf6 commit 8ea9809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/agno/agno/models/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def get_content_string(self) -> str:
if len(self.content) > 0 and isinstance(self.content[0], dict) and "text" in self.content[0]:
return self.content[0].get("text", "")
else:
return json.dumps(self.content, indent=2)
return json.dumps(self.content)
return ""

def serialize_for_model(self) -> Dict[str, Any]:
Expand Down

0 comments on commit 8ea9809

Please sign in to comment.