From 02961aa84efa558d2cce31661329bfc47ff7387b Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 12 Jul 2023 18:48:24 -0400 Subject: [PATCH] clean up Former-commit-id: 6dae16cba21bec39af207e8c125b18edec87963b --- requirements.txt | 4 ++-- swarms/agents/utils/AgentManager.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 420df298..dca3e347 100644 --- a/requirements.txt +++ b/requirements.txt @@ -93,9 +93,9 @@ tiktoken espnet==202301 espnet_model_zoo==0.1.7 -flask==2.2.3 +# flask==2.2.3 -flask_cors==3.0.10 +# flask_cors==3.0.10 waitress==2.1.2 asteroid diff --git a/swarms/agents/utils/AgentManager.py b/swarms/agents/utils/AgentManager.py index 2e7b201c..ad2b50fd 100644 --- a/swarms/agents/utils/AgentManager.py +++ b/swarms/agents/utils/AgentManager.py @@ -13,7 +13,8 @@ from .AgentBuilder import AgentBuilder from .Calback import EVALCallbackHandler, ExecutionTracingCallbackHandler -CallbackManager.set_handler(handler=EVALCallbackHandler()) +callback_manager_instance = CallbackManager() +callback_manager_instance.set_handler(handler=EVALCallbackHandler()) class AgentManager: def __init__(self, toolsets: list[BaseToolSet] = []):