bstraehle commited on
Commit
36c4f2d
·
1 Parent(s): e5813a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -6
app.py CHANGED
@@ -21,12 +21,9 @@ AGENT_ON = True
21
 
22
  @tool
23
  def time(text: str) -> str:
24
- """Returns today's date, use this for any \
25
- questions related to knowing today's date. \
26
- The input should always be an empty string, \
27
- and this function will always return today's \
28
- date - any date mathematics should occur \
29
- outside this function."""
30
  return str(date.today())
31
 
32
  def invoke(openai_api_key, prompt, agent_option):
 
21
 
22
  @tool
23
  def time(text: str) -> str:
24
+ """Returns today's date. Use this for any questions related to knowing today's date.
25
+ The input should always be an empty string, and this function will always return today's date.
26
+ Any date mathematics should occur outside this function."""
 
 
 
27
  return str(date.today())
28
 
29
  def invoke(openai_api_key, prompt, agent_option):