Update custom_tools.py
Browse files- 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):
|