From 81154d1f13c1779c2bb8b143def98b4fab288212 Mon Sep 17 00:00:00 2001 From: Nick Bobrowski <39348559+bonk1t@users.noreply.github.com> Date: Sat, 14 Dec 2024 14:23:17 +0000 Subject: [PATCH] Fix Genesis agent creator type error --- agency_swarm/messages/message_output.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/agency_swarm/messages/message_output.py b/agency_swarm/messages/message_output.py index a64c37d6..e366b0fc 100644 --- a/agency_swarm/messages/message_output.py +++ b/agency_swarm/messages/message_output.py @@ -161,7 +161,9 @@ def cprint_update(self, snapshot): """ Update the display with new snapshot content. """ - self.content = snapshot # Update content with the latest snapshot + self.content = ( + snapshot or "No content available" + ) # Update content with the latest snapshot header_text = self.formatted_header md_content = Markdown(self.content)