Skip to content

Commit e3d1fe2

Browse files
authored
fix: handle receiving a list of Message as input for team arun (#4167)
Receiving a list of `Message` as input of `Team.arun` was valid based on the type signature, but broke when getting the user message
1 parent 125861b commit e3d1fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/agno/agno/team/team.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5645,7 +5645,7 @@ def _get_user_message(
56455645
if isinstance(message, str):
56465646
user_message_content = message
56475647
else:
5648-
user_message_content = "\n".join(message)
5648+
user_message_content = "\n".join(str(message))
56495649

56505650
# Add references to user message
56515651
if (

0 commit comments

Comments
 (0)