Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -169,20 +169,20 @@ class MagAgent:
|
|
| 169 |
max_tokens=8192
|
| 170 |
)
|
| 171 |
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
| 182 |
-
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
|
| 186 |
|
| 187 |
self.tools = [
|
| 188 |
RetryDuckDuckGoSearchTool(),
|
|
|
|
| 169 |
max_tokens=8192
|
| 170 |
)
|
| 171 |
|
| 172 |
+
self.imports = [
|
| 173 |
+
"pandas",
|
| 174 |
+
"numpy",
|
| 175 |
+
"os",
|
| 176 |
+
"requests",
|
| 177 |
+
"tempfile",
|
| 178 |
+
"datetime",
|
| 179 |
+
"json",
|
| 180 |
+
"time",
|
| 181 |
+
"re",
|
| 182 |
+
"openpyxl",
|
| 183 |
+
"pathlib",
|
| 184 |
+
"sys",
|
| 185 |
+
]
|
| 186 |
|
| 187 |
self.tools = [
|
| 188 |
RetryDuckDuckGoSearchTool(),
|