Spaces:
Sleeping
Sleeping
Upload my_new_tool.py
Browse files- tools/my_new_tool.py +9 -0
tools/my_new_tool.py
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from tools.my_new_tool import new_tool
|
2 |
+
|
3 |
+
agent = CodeAgent(
|
4 |
+
model=model,
|
5 |
+
tools=[final_answer, new_tool, visit_webpage, web_search], # include all desired tools here
|
6 |
+
max_steps=6,
|
7 |
+
verbosity_level=1,
|
8 |
+
prompt_templates=prompt_templates
|
9 |
+
)
|