dball commited on
Commit
ae6c007
·
verified ·
1 Parent(s): d3dfdec

Fix doc string for get_website_content

Browse files

The 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).

Files changed (1) hide show
  1. app.py +1 -1
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 (str): The URL of the website to fetch
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
  """