From 0aadabdf2d6eb38b39d4efffbd216aae3747f6d1 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: e2413476326aa4ec67839d4758aa17b438b542c5 --- 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