Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ def my_custom_tool(arg1:int, arg2:int)-> str: #it's import to specify the return
|
|
| 23 |
return f"the result is {a}"
|
| 24 |
|
| 25 |
@tool
|
| 26 |
-
def todays_useless_fact(input_time:
|
| 27 |
"""Fetches today's useless fact from an external public API.
|
| 28 |
Args:
|
| 29 |
date: the datetime value for the specified time zone retrieved from get_current_time_in_timezone.
|
|
|
|
| 23 |
return f"the result is {a}"
|
| 24 |
|
| 25 |
@tool
|
| 26 |
+
def todays_useless_fact(input_time: str) -> str:
|
| 27 |
"""Fetches today's useless fact from an external public API.
|
| 28 |
Args:
|
| 29 |
date: the datetime value for the specified time zone retrieved from get_current_time_in_timezone.
|