From 7bfce2b87e4f65ebf8d6639a713edb74ba7a7436 Mon Sep 17 00:00:00 2001 From: Kye Date: Wed, 5 Jul 2023 15:54:17 -0400 Subject: [PATCH] clean up --- swarms/swarms.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/swarms/swarms.py b/swarms/swarms.py index 415817f1..3c6836ea 100644 --- a/swarms/swarms.py +++ b/swarms/swarms.py @@ -227,14 +227,14 @@ class Swarms: # # math_tool # ] tools = [ - Tool(name='web_search', func=web_search.run, description='Runs a web search'), - Tool(name='write_file_tool', func=WriteFileTool(root_dir="./data").run, description='Writes a file'), - Tool(name='read_file_tool', func=ReadFileTool(root_dir="./data").run, description='Reads a file'), - Tool(name='process_csv', func=process_csv.run, description='Processes a CSV file'), - Tool(name='query_website_tool', func=query_website_tool.run, description='Queries a website'), - Tool(name='terminal', func=Terminal.run, description='Operates a terminal'), - Tool(name='code_writer', func=CodeWriter.run, description='Writes code'), - Tool(name='code_editor', func=CodeEditor.run, description='Edits code'), + Tool(name='web_search', func=web_search, description='Runs a web search'), + Tool(name='write_file_tool', func=WriteFileTool(root_dir="./data"), description='Writes a file'), + Tool(name='read_file_tool', func=ReadFileTool(root_dir="./data"), description='Reads a file'), + Tool(name='process_csv', func=process_csv, description='Processes a CSV file'), + Tool(name='query_website_tool', func=query_website_tool, description='Queries a website'), + Tool(name='terminal', func=Terminal, description='Operates a terminal'), + Tool(name='code_writer', func=CodeWriter, description='Writes code'), + Tool(name='code_editor', func=CodeEditor, description='Edits code'), # Add any additional tools here... ] return tools