diff --git a/swarms/agents/utils/AgentManager.py b/swarms/agents/utils/AgentManager.py index ad2b50fd..ba1e444d 100644 --- a/swarms/agents/utils/AgentManager.py +++ b/swarms/agents/utils/AgentManager.py @@ -13,8 +13,8 @@ from .AgentBuilder import AgentBuilder from .Calback import EVALCallbackHandler, ExecutionTracingCallbackHandler -callback_manager_instance = CallbackManager() -callback_manager_instance.set_handler(handler=EVALCallbackHandler()) +callback_manager_instance = CallbackManager(EVALCallbackHandler()) + class AgentManager: def __init__(self, toolsets: list[BaseToolSet] = []):