bstraehle commited on
Commit
8996022
1 Parent(s): 15d06fc

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +1 -2
tools.py CHANGED
@@ -7,8 +7,7 @@ def scrape_tool():
7
  return ScrapeWebsiteTool()
8
 
9
  @tool("Today tool")
10
- def today_tool(text: str) -> str:
11
  """Returns today's date. Use this for any questions related to knowing today's date.
12
- The input should always be an empty string, and this function will always return today's date.
13
  Any date mathematics should occur outside this function."""
14
  return str(date.today())
 
7
  return ScrapeWebsiteTool()
8
 
9
  @tool("Today tool")
10
+ def today_tool() -> str:
11
  """Returns today's date. Use this for any questions related to knowing today's date.
 
12
  Any date mathematics should occur outside this function."""
13
  return str(date.today())