From 9790bcddc3fea584ebb422ed0c3a4304d3250180 Mon Sep 17 00:00:00 2001 From: nathanogaga118 <106948598+nathanogaga118@users.noreply.github.com> Date: Tue, 19 Aug 2025 18:07:59 -0700 Subject: [PATCH] Update agent_registry.py --- swarms/structs/agent_registry.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/swarms/structs/agent_registry.py b/swarms/structs/agent_registry.py index b13a9eaf..4668ac5e 100644 --- a/swarms/structs/agent_registry.py +++ b/swarms/structs/agent_registry.py @@ -94,6 +94,9 @@ class AgentRegistry: """ Adds a new agent to the registry. + Args: + agent (Agent): The agent to add. + Raises: ValueError: If the agent_name is invalid or already exists in the registry. ValidationError: If the input data is invalid.