From d345602f3c258f7888f678153decfafbf5089945 Mon Sep 17 00:00:00 2001 From: Kye Date: Mon, 10 Jul 2023 22:28:29 -0400 Subject: [PATCH] clean up Former-commit-id: 456a769feca336ce44bedf3795e75ff0e32bce3c --- swarms/agents/utils/callback.py | 2 +- swarms/agents/utils/manager.py | 2 +- swarms/agents/workers/agents.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/swarms/agents/utils/callback.py b/swarms/agents/utils/callback.py index 5e5607c8..d4720fd2 100644 --- a/swarms/agents/utils/callback.py +++ b/swarms/agents/utils/callback.py @@ -2,7 +2,7 @@ from typing import Any, Dict, List, Optional, Union from langchain.callbacks.base import BaseCallbackHandler from langchain.schema import AgentAction, AgentFinish, LLMResult -from celery import Task +# from celery import Task # from ansi import ANSI, Color, Style, dim_multiline from swarms.utils.utils import ANSI, Color, Style, dim_multiline diff --git a/swarms/agents/utils/manager.py b/swarms/agents/utils/manager.py index 2fc17470..c4015e76 100644 --- a/swarms/agents/utils/manager.py +++ b/swarms/agents/utils/manager.py @@ -1,5 +1,5 @@ from typing import Dict, Optional -from celery import Task +# from celery import Task from langchain.agents.agent import AgentExecutor from langchain.callbacks.base import CallbackManager diff --git a/swarms/agents/workers/agents.py b/swarms/agents/workers/agents.py index 0dd49e15..8419dd95 100644 --- a/swarms/agents/workers/agents.py +++ b/swarms/agents/workers/agents.py @@ -222,7 +222,7 @@ from typing import Any, Dict, List, Optional, Union from langchain.callbacks.base import BaseCallbackHandler from langchain.schema import AgentAction, AgentFinish, LLMResult -from celery import Task +# from celery import Task from swarms.utils.utils import ANSI, Color, Style, dim_multiline, logger