Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -44,7 +44,21 @@ class GaiaAgent:
|
|
| 44 |
max_steps=10,
|
| 45 |
verbosity_level = 2, #or other parameter
|
| 46 |
grammar = None,
|
| 47 |
-
planning_interval=None,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
#name="web_agent",
|
| 49 |
#description="Brows the web to find information",
|
| 50 |
#additional_autorized_imports = ["pandas"],
|
|
|
|
| 44 |
max_steps=10,
|
| 45 |
verbosity_level = 2, #or other parameter
|
| 46 |
grammar = None,
|
| 47 |
+
planning_interval=None,
|
| 48 |
+
additional_authorized_imports=[
|
| 49 |
+
"markdownify",
|
| 50 |
+
"json",
|
| 51 |
+
"requests",
|
| 52 |
+
"urllib.request",
|
| 53 |
+
"urllib.parse",
|
| 54 |
+
"wikipedia-api",
|
| 55 |
+
"numpy",
|
| 56 |
+
"math",
|
| 57 |
+
"pytesseract",
|
| 58 |
+
"PIL",
|
| 59 |
+
"chess",
|
| 60 |
+
"pandas",
|
| 61 |
+
]
|
| 62 |
#name="web_agent",
|
| 63 |
#description="Brows the web to find information",
|
| 64 |
#additional_autorized_imports = ["pandas"],
|