Spaces:
Sleeping
Sleeping
add wikipedia and xlrd to authorized imports
Browse files
agent.py
CHANGED
|
@@ -35,6 +35,8 @@ manager_agent = CodeAgent(
|
|
| 35 |
managed_agents=[web_agent],
|
| 36 |
max_steps=6,
|
| 37 |
verbosity_level=1,
|
| 38 |
-
additional_authorized_imports=["time", "numpy", "pandas"],
|
| 39 |
-
prompt_templates=prompt_templates
|
|
|
|
|
|
|
| 40 |
)
|
|
|
|
| 35 |
managed_agents=[web_agent],
|
| 36 |
max_steps=6,
|
| 37 |
verbosity_level=1,
|
| 38 |
+
additional_authorized_imports=["time", "numpy", "pandas", "wikipedia", "xlrd"],
|
| 39 |
+
prompt_templates=prompt_templates,
|
| 40 |
+
name="manager_agent",
|
| 41 |
+
description="Manages the web search agent. This is a code agent, it can return code blocks.",
|
| 42 |
)
|