acrobatlm commited on
Commit
e25d919
·
verified ·
1 Parent(s): b866c57

Upload agent

Browse files
Files changed (3) hide show
  1. agent.json +11 -11
  2. requirements.txt +1 -1
  3. tools/visit_webpage.py +2 -2
agent.json CHANGED
@@ -10,8 +10,8 @@
10
  "model": {
11
  "class": "HfApiModel",
12
  "data": {
13
- "last_input_token_count": 8695,
14
- "last_output_token_count": 67,
15
  "model_id": "Qwen/Qwen2.5-Coder-32B-Instruct",
16
  "provider": null
17
  }
@@ -43,22 +43,22 @@
43
  "name": null,
44
  "description": null,
45
  "requirements": [
46
- "markdownify",
47
  "smolagents",
48
  "duckduckgo_search",
49
- "requests"
 
50
  ],
51
  "authorized_imports": [
 
 
 
 
 
52
  "unicodedata",
53
  "stat",
54
- "queue",
55
- "math",
56
  "collections",
 
57
  "re",
58
- "statistics",
59
- "datetime",
60
- "time",
61
- "itertools",
62
- "random"
63
  ]
64
  }
 
10
  "model": {
11
  "class": "HfApiModel",
12
  "data": {
13
+ "last_input_token_count": 8004,
14
+ "last_output_token_count": 180,
15
  "model_id": "Qwen/Qwen2.5-Coder-32B-Instruct",
16
  "provider": null
17
  }
 
43
  "name": null,
44
  "description": null,
45
  "requirements": [
 
46
  "smolagents",
47
  "duckduckgo_search",
48
+ "requests",
49
+ "markdownify"
50
  ],
51
  "authorized_imports": [
52
+ "math",
53
+ "itertools",
54
+ "datetime",
55
+ "time",
56
+ "statistics",
57
  "unicodedata",
58
  "stat",
 
 
59
  "collections",
60
+ "random",
61
  "re",
62
+ "queue"
 
 
 
 
63
  ]
64
  }
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- markdownify
2
  smolagents
3
  duckduckgo_search
4
  requests
 
 
 
1
  smolagents
2
  duckduckgo_search
3
  requests
4
+ markdownify
tools/visit_webpage.py CHANGED
@@ -1,8 +1,8 @@
1
  from typing import Any, Optional
2
  from smolagents.tools import Tool
3
- import markdownify
4
- import requests
5
  import smolagents
 
 
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 requests
5
+ import markdownify
6
 
7
  class VisitWebpageTool(Tool):
8
  name = "visit_webpage"