Update tools/visit_webpage.py
Browse files- tools/visit_webpage.py +1 -1
tools/visit_webpage.py
CHANGED
|
@@ -4,7 +4,7 @@ import requests
|
|
| 4 |
import markdownify
|
| 5 |
import smolagents
|
| 6 |
|
| 7 |
-
class
|
| 8 |
name = "visit_webpage"
|
| 9 |
description = "Visits a webpage at the given url and reads its content as a markdown string. Use this to browse webpages."
|
| 10 |
inputs = {'url': {'type': 'string', 'description': 'The url of the webpage to visit.'}}
|
|
|
|
| 4 |
import markdownify
|
| 5 |
import smolagents
|
| 6 |
|
| 7 |
+
class VisitWebPageTool(Tool):
|
| 8 |
name = "visit_webpage"
|
| 9 |
description = "Visits a webpage at the given url and reads its content as a markdown string. Use this to browse webpages."
|
| 10 |
inputs = {'url': {'type': 'string', 'description': 'The url of the webpage to visit.'}}
|