Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -304,8 +304,7 @@ class GaiaAgent:
|
|
| 304 |
tools=self.tools,
|
| 305 |
verbose=True,
|
| 306 |
handle_parsing_errors=True,
|
| 307 |
-
max_iterations=8
|
| 308 |
-
early_stopping_method="generate"
|
| 309 |
)
|
| 310 |
|
| 311 |
def __call__(self, question: str, task_id: str) -> str:
|
|
|
|
| 304 |
tools=self.tools,
|
| 305 |
verbose=True,
|
| 306 |
handle_parsing_errors=True,
|
| 307 |
+
max_iterations=8 # Slightly increased iterations
|
|
|
|
| 308 |
)
|
| 309 |
|
| 310 |
def __call__(self, question: str, task_id: str) -> str:
|