diff --git a/agents-api/agents_api/models/session/create_or_update_session.py b/agents-api/agents_api/models/session/create_or_update_session.py index 60c0b7f71..8f285dadc 100644 --- a/agents-api/agents_api/models/session/create_or_update_session.py +++ b/agents-api/agents_api/models/session/create_or_update_session.py @@ -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):