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] = []):