From 5ce15f2af07455ee4f29850603057d0567485837 Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 9 Aug 2023 18:15:21 -0400 Subject: [PATCH] no tools init import --- swarms/agents/tools/__init__.py | 14 +++++++------- swarms/agents/tools/developer.py | 2 ++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/swarms/agents/tools/__init__.py b/swarms/agents/tools/__init__.py index 6f4d2f9b..08a6c286 100644 --- a/swarms/agents/tools/__init__.py +++ b/swarms/agents/tools/__init__.py @@ -1,9 +1,9 @@ -from swarms.agents.tools.base import BaseTool, Tool, StructuredTool, ToolWrapper, BaseToolSet, ToolCreator, GlobalToolsCreator, SessionToolsCreator, ToolsFactory -from swarms.agents.tools.autogpt import pushd, process_csv, async_load_playwright, run_async, browse_web_page, WebpageQATool, web_search, query_website_tool -from swarms.agents.tools.exit_conversation import ExitConversation +# from swarms.agents.tools.base import BaseTool, Tool, StructuredTool, ToolWrapper, BaseToolSet, ToolCreator, GlobalToolsCreator, SessionToolsCreator, ToolsFactory +# from swarms.agents.tools.autogpt import pushd, process_csv, async_load_playwright, run_async, browse_web_page, WebpageQATool, web_search, query_website_tool +# from swarms.agents.tools.exit_conversation import ExitConversation -from swarms.agents.tools.models import MaskFormer, ImageEditing, InstructPix2Pix, Text2Image, VisualQuestionAnswering, ImageCaptioning -from swarms.agents.tools.file_mangagement import read_tool, write_tool, list_tool -from swarms.agents.tools.requests import RequestsGet +# from swarms.agents.tools.models import MaskFormer, ImageEditing, InstructPix2Pix, Text2Image, VisualQuestionAnswering, ImageCaptioning +# from swarms.agents.tools.file_mangagement import read_tool, write_tool, list_tool +# from swarms.agents.tools.requests import RequestsGet -from swarms.agents.tools.developer import Terminal, CodeEditor \ No newline at end of file +# from swarms.agents.tools.developer import Terminal, CodeEditor \ No newline at end of file diff --git a/swarms/agents/tools/developer.py b/swarms/agents/tools/developer.py index 2ec25e21..5ec3ae41 100644 --- a/swarms/agents/tools/developer.py +++ b/swarms/agents/tools/developer.py @@ -25,6 +25,8 @@ from swarms.utils.logger import logger from swarms.utils.main import ANSI, Color, Style # test +from langchain.tools import tool + #helpers PipeType = Union[Literal["stdout"], Literal["stderr"]]