Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -155,6 +155,7 @@ def SpeechToTextTool(audio_path: str) -> str:
|
|
| 155 |
|
| 156 |
class ExcelReaderTool(Tool):
|
| 157 |
name = "excel_reader"
|
|
|
|
| 158 |
description = """
|
| 159 |
This tool reads and processes Excel files (.xlsx, .xls).
|
| 160 |
It can extract data, calculate statistics, and perform data analysis on spreadsheets.
|
|
@@ -263,7 +264,7 @@ class MagAgent:
|
|
| 263 |
],
|
| 264 |
verbosity_level=3,
|
| 265 |
add_base_tools=True,
|
| 266 |
-
max_steps=
|
| 267 |
)
|
| 268 |
print("MagAgent initialized.")
|
| 269 |
|
|
|
|
| 155 |
|
| 156 |
class ExcelReaderTool(Tool):
|
| 157 |
name = "excel_reader"
|
| 158 |
+
|
| 159 |
description = """
|
| 160 |
This tool reads and processes Excel files (.xlsx, .xls).
|
| 161 |
It can extract data, calculate statistics, and perform data analysis on spreadsheets.
|
|
|
|
| 264 |
],
|
| 265 |
verbosity_level=3,
|
| 266 |
add_base_tools=True,
|
| 267 |
+
max_steps=15
|
| 268 |
)
|
| 269 |
print("MagAgent initialized.")
|
| 270 |
|