albertvillanova HF staff commited on
Commit
babf4a6
·
verified ·
1 Parent(s): b0afdda

Upload agent

Browse files
agent.json CHANGED
@@ -43,24 +43,24 @@
43
  "name": null,
44
  "description": null,
45
  "requirements": [
 
46
  "duckduckgo_search",
47
  "markdownify",
48
- "requests",
49
- "smolagents",
50
- "pandas"
51
  ],
52
  "authorized_imports": [
53
- "statistics",
54
  "datetime",
55
- "re",
 
 
56
  "pandas",
57
- "time",
58
- "queue",
59
  "math",
60
- "stat",
61
- "unicodedata",
62
- "itertools",
63
  "collections",
64
- "random"
 
 
 
65
  ]
66
  }
 
43
  "name": null,
44
  "description": null,
45
  "requirements": [
46
+ "smolagents",
47
  "duckduckgo_search",
48
  "markdownify",
49
+ "pandas",
50
+ "requests"
 
51
  ],
52
  "authorized_imports": [
 
53
  "datetime",
54
+ "itertools",
55
+ "random",
56
+ "unicodedata",
57
  "pandas",
 
 
58
  "math",
59
+ "re",
 
 
60
  "collections",
61
+ "stat",
62
+ "time",
63
+ "statistics",
64
+ "queue"
65
  ]
66
  }
managed_agents/useless/agent.json CHANGED
@@ -43,16 +43,16 @@
43
  "smolagents"
44
  ],
45
  "authorized_imports": [
46
- "statistics",
47
  "datetime",
48
- "re",
49
- "time",
50
- "queue",
51
- "math",
52
- "stat",
53
- "unicodedata",
54
  "itertools",
 
 
 
 
55
  "collections",
56
- "random"
 
 
 
57
  ]
58
  }
 
43
  "smolagents"
44
  ],
45
  "authorized_imports": [
 
46
  "datetime",
 
 
 
 
 
 
47
  "itertools",
48
+ "random",
49
+ "unicodedata",
50
+ "math",
51
+ "re",
52
  "collections",
53
+ "stat",
54
+ "time",
55
+ "statistics",
56
+ "queue"
57
  ]
58
  }
managed_agents/web_agent/agent.json CHANGED
@@ -42,9 +42,9 @@
42
  "name": "web_agent",
43
  "description": "does web searches",
44
  "requirements": [
45
- "requests",
46
  "smolagents",
 
47
  "markdownify",
48
- "duckduckgo_search"
49
  ]
50
  }
 
42
  "name": "web_agent",
43
  "description": "does web searches",
44
  "requirements": [
 
45
  "smolagents",
46
+ "duckduckgo_search",
47
  "markdownify",
48
+ "requests"
49
  ]
50
  }
managed_agents/web_agent/requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- requests
2
  smolagents
3
- markdownify
4
  duckduckgo_search
 
 
 
 
1
  smolagents
 
2
  duckduckgo_search
3
+ markdownify
4
+ requests
managed_agents/web_agent/tools/visit_webpage.py CHANGED
@@ -1,8 +1,8 @@
1
  from typing import Any, Optional
2
  from smolagents.tools import Tool
3
- import requests
4
  import smolagents
5
  import markdownify
 
6
 
7
  class VisitWebpageTool(Tool):
8
  name = "visit_webpage"
 
1
  from typing import Any, Optional
2
  from smolagents.tools import Tool
 
3
  import smolagents
4
  import markdownify
5
+ import requests
6
 
7
  class VisitWebpageTool(Tool):
8
  name = "visit_webpage"
requirements.txt CHANGED
@@ -1,5 +1,5 @@
 
1
  duckduckgo_search
2
  markdownify
3
- requests
4
- smolagents
5
  pandas
 
 
1
+ smolagents
2
  duckduckgo_search
3
  markdownify
 
 
4
  pandas
5
+ requests