keynes42 commited on
Commit
2872036
·
verified ·
1 Parent(s): b9db89e

Update custom_tools.py

Browse files
Files changed (1) hide show
  1. custom_tools.py +1 -0
custom_tools.py CHANGED
@@ -1,6 +1,7 @@
1
  import requests
2
  from bs4 import BeautifulSoup
3
  from typing import List, Dict, Any
 
4
  from smolagents import Tool, WebSearchTool, WikipediaSearchTool, PythonInterpreterTool
5
 
6
  class WebpageStructureAnalyzerTool(Tool):
 
1
  import requests
2
  from bs4 import BeautifulSoup
3
  from typing import List, Dict, Any
4
+ from functools import lru_cache
5
  from smolagents import Tool, WebSearchTool, WikipediaSearchTool, PythonInterpreterTool
6
 
7
  class WebpageStructureAnalyzerTool(Tool):