From 9490ff3ea3928a89ec07d78f5e557f0c6b893595 Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 12 Jul 2023 18:56:12 -0400 Subject: [PATCH] callbacl handler change --- swarms/agents/utils/AgentManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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] = []):