Skip to content

Commit

Permalink
Remove agents check on create_or_update_session
Browse files Browse the repository at this point in the history
  • Loading branch information
HamadaSalhab committed Sep 17, 2024
1 parent 5146369 commit fc351e0
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def create_or_update_session(
raise ValueError("Only one of 'agent' or 'agents' should be provided.")

agents = agents or ([agent] if agent else [])
assert len(agents) > 0, "At least one agent must be provided."

# Users are zero or more, so we default to an empty list if not provided.
if not (user or users):
Expand Down

0 comments on commit fc351e0

Please sign in to comment.