Spaces:
Sleeping
Sleeping
Upload tool
Browse filesFiles changed (4)
- agent.json+8-8
- app.py+2-4
- requirements.txt+2-2
- tools/visit_webpage.py+1-1
34 unmodified lines3536373838404142394440464741424344454946474849505134 unmodified lines "name": null, "description": null, "authorized_imports": [ "time", "queue", "unicodedata", "collections", "re", "stat", "itertools", "pandas", "datetime", "math", "collections", "statistics", "itertools", "math", "re", "random" "random", "unicodedata", "datetime", "time" ]}6 unmodified lines789101112101112139 unmodified lines23242528262728296 unmodified lines
model = HfApiModel( model_id='Qwen/Qwen2.5-Coder-32B-Instruct', custom_role_conversions=None, ) model_id='Qwen/Qwen2.5-Coder-32B-Instruct',custom_role_conversions=None,)
web_search = DuckDuckGoSearchTool()visit_webpage = VisitWebpageTool()9 unmodified lines planning_interval=None, name=None, description=None, authorized_imports=['time', 'queue', 'unicodedata', 'collections', 're', 'stat', 'itertools', 'pandas', 'datetime', 'math', 'statistics', 'random'], authorized_imports=['queue', 'stat', 'pandas', 'collections', 'statistics', 'itertools', 'math', 're', 'random', 'unicodedata', 'datetime', 'time'], prompts_path='./prompts.yaml')
1223445pandassmolagentsrequestsmarkdownifypandasduckduckgo_searchrequests123455678from typing import Any, Optionalfrom smolagents.tools import Toolimport requestsimport markdownifyimport smolagentsimport requests
class VisitWebpageTool(Tool): name = "visit_webpage"agent.json+8-8
app.py+2-4
requirements.txt+2-2
tools/visit_webpage.py+1-1