diff --git a/swarms/agents/workers/auto_agent.py b/swarms/agents/workers/auto_agent.py index 427cae8d..e794e9fe 100644 --- a/swarms/agents/workers/auto_agent.py +++ b/swarms/agents/workers/auto_agent.py @@ -22,7 +22,7 @@ from langchain.tools.file_management.write import WriteFileTool ROOT_DIR = "./data/" -from langchain.tools import BaseTool, DuckDuckGoSearchRun +from langchain.t1ools import BaseTool, DuckDuckGoSearchRun from langchain.text_splitter import RecursiveCharacterTextSplitter from pydantic import Field @@ -38,6 +38,7 @@ from langchain.tools.human.tool import HumanInputRun from swarms.agents.workers.auto_agent import MultiModalVisualAgent +from swarms.tools.main import Terminal, CodeWriter, CodeEditor class MultiModalVisualAgentTool(BaseTool): name = "multi_visual_agent" @@ -179,6 +180,11 @@ tools = [ ReadFileTool(root_dir="./data"), process_csv, query_website_tool, + Terminal, + CodeWriter, + CodeEditor + + # HumanInputRun(), # Activate if you want the permit asking for help from the human ] diff --git a/swarms/tools/main.py b/swarms/tools/main.py index 7800823d..ab7b7395 100644 --- a/swarms/tools/main.py +++ b/swarms/tools/main.py @@ -806,7 +806,6 @@ import os import re from typing import Tuple -from .verify import verify class Position: