Spaces:
Sleeping
Sleeping
Fix doc string for get_website_content
Browse filesThe doc string for `get_website_content` had an args field that was typed,
but smolagents does not like this and crashes.
Remove type info (which is in the signature anyway).
app.py
CHANGED
@@ -13,7 +13,7 @@ def get_website_content(url: str) -> str:
|
|
13 |
"""
|
14 |
This tool fetches the content of a website given its URL.
|
15 |
Args:
|
16 |
-
url
|
17 |
Returns:
|
18 |
str: The content of the website
|
19 |
"""
|
|
|
13 |
"""
|
14 |
This tool fetches the content of a website given its URL.
|
15 |
Args:
|
16 |
+
url: The URL of the website to fetch
|
17 |
Returns:
|
18 |
str: The content of the website
|
19 |
"""
|