From d914c911434ec38b35428c24f69ca7063c858205 Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 12 Jul 2023 18:56:12 -0400 Subject: [PATCH] callbacl handler change Former-commit-id: 22317dbed34437f2fd4f2334f2b4ddbb6dd69bac --- 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] = []):