Upload tool
Browse files- agent.json +7 -7
- app.py +3 -2
- requirements.txt +2 -2
agent.json
CHANGED
@@ -35,17 +35,17 @@
|
|
35 |
"name": null,
|
36 |
"description": null,
|
37 |
"authorized_imports": [
|
38 |
-
"
|
39 |
"statistics",
|
40 |
-
"
|
|
|
41 |
"random",
|
|
|
42 |
"datetime",
|
43 |
-
"math",
|
44 |
"re",
|
45 |
-
"
|
46 |
-
"
|
47 |
"collections",
|
48 |
-
"
|
49 |
-
"time"
|
50 |
]
|
51 |
}
|
|
|
35 |
"name": null,
|
36 |
"description": null,
|
37 |
"authorized_imports": [
|
38 |
+
"unicodedata",
|
39 |
"statistics",
|
40 |
+
"itertools",
|
41 |
+
"time",
|
42 |
"random",
|
43 |
+
"stat",
|
44 |
"datetime",
|
|
|
45 |
"re",
|
46 |
+
"queue",
|
47 |
+
"math",
|
48 |
"collections",
|
49 |
+
"pandas"
|
|
|
50 |
]
|
51 |
}
|
app.py
CHANGED
@@ -7,7 +7,8 @@ from scripts.final_answer import FinalAnswerTool
|
|
7 |
|
8 |
|
9 |
model = HfApiModel(
|
10 |
-
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',custom_role_conversions=None,
|
|
|
11 |
|
12 |
web_search = DuckDuckGoSearchTool()
|
13 |
visit_webpage = VisitWebpageTool()
|
@@ -23,7 +24,7 @@ agent = CodeAgent(
|
|
23 |
planning_interval=None,
|
24 |
name=None,
|
25 |
description=None,
|
26 |
-
authorized_imports=['
|
27 |
prompts_path='./prompts.yaml'
|
28 |
)
|
29 |
|
|
|
7 |
|
8 |
|
9 |
model = HfApiModel(
|
10 |
+
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',custom_role_conversions=None,
|
11 |
+
)
|
12 |
|
13 |
web_search = DuckDuckGoSearchTool()
|
14 |
visit_webpage = VisitWebpageTool()
|
|
|
24 |
planning_interval=None,
|
25 |
name=None,
|
26 |
description=None,
|
27 |
+
authorized_imports=['unicodedata', 'statistics', 'itertools', 'time', 'random', 'stat', 'datetime', 're', 'queue', 'math', 'collections', 'pandas'],
|
28 |
prompts_path='./prompts.yaml'
|
29 |
)
|
30 |
|
requirements.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
-
pandas
|
2 |
duckduckgo_search
|
3 |
-
requests
|
4 |
smolagents
|
5 |
markdownify
|
|
|
|
|
|
|
|
1 |
duckduckgo_search
|
|
|
2 |
smolagents
|
3 |
markdownify
|
4 |
+
requests
|
5 |
+
pandas
|