From d6e33b652c8df31a1e8d8644c780454132394fe6 Mon Sep 17 00:00:00 2001 From: Kye Date: Fri, 14 Jul 2023 21:57:20 -0400 Subject: [PATCH] no verbose Former-commit-id: 20e4f49e95a9ecc076e465f38e029dc7129a9d4a --- swarms/tools/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swarms/tools/main.py b/swarms/tools/main.py index 67a32b9b..59a88e1c 100644 --- a/swarms/tools/main.py +++ b/swarms/tools/main.py @@ -1502,7 +1502,7 @@ def pushd(new_dir): @tool def process_csv( - csv_file_path: str, instructions: str, output_path: Optional[str] = None + llm, csv_file_path: str, instructions: str, output_path: Optional[str] = None ) -> str: """Process a CSV by with pandas in a limited REPL.\ Only use this after writing data to disk as a csv file.\ @@ -1513,7 +1513,7 @@ def process_csv( df = pd.read_csv(csv_file_path) except Exception as e: return f"Error: {e}" - agent = create_pandas_dataframe_agent(llm, df, max_iterations=30, verbose=True) + agent = create_pandas_dataframe_agent(llm, df, max_iterations=30, verbose=False) if output_path is not None: instructions += f" Save output to disk at {output_path}" try: