We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 204928d commit bd7d0d0Copy full SHA for bd7d0d0
examples/openai_agents_tools.py
@@ -65,6 +65,7 @@ def get_activities(city: str, date: str) -> list:
65
66
@function_tool
67
def get_current_date() -> str:
68
+ """Gets the current date and returns as a string in format YYYY-MM-DD."""
69
logger.info("Getting current date")
70
return datetime.now().strftime("%Y-%m-%d")
71
0 commit comments