bprs6869 commited on
Commit
add1f44
·
verified ·
1 Parent(s): d4e8804

Upload agent

Browse files
Files changed (2) hide show
  1. tools/visit_webpage.py +1 -1
  2. tools/web_search.py +1 -1
tools/visit_webpage.py CHANGED
@@ -1,8 +1,8 @@
1
  from typing import Any, Optional
2
  from smolagents.tools import Tool
3
- import re
4
  import markdownify
5
  import requests
 
6
 
7
  class VisitWebpageTool(Tool):
8
  name = "visit_webpage"
 
1
  from typing import Any, Optional
2
  from smolagents.tools import Tool
 
3
  import markdownify
4
  import requests
5
+ import re
6
 
7
  class VisitWebpageTool(Tool):
8
  name = "visit_webpage"
tools/web_search.py CHANGED
@@ -1,7 +1,7 @@
1
  from typing import Any, Optional
2
  from smolagents.tools import Tool
3
- import time
4
  import ddgs
 
5
 
6
  class DuckDuckGoSearchTool(Tool):
7
  """Web search tool that performs searches using the DuckDuckGo search engine.
 
1
  from typing import Any, Optional
2
  from smolagents.tools import Tool
 
3
  import ddgs
4
+ import time
5
 
6
  class DuckDuckGoSearchTool(Tool):
7
  """Web search tool that performs searches using the DuckDuckGo search engine.