Skip to content

Commit bd7d0d0

Browse files
committed
Add back docstring
1 parent 204928d commit bd7d0d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/openai_agents_tools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def get_activities(city: str, date: str) -> list:
6565

6666
@function_tool
6767
def get_current_date() -> str:
68+
"""Gets the current date and returns as a string in format YYYY-MM-DD."""
6869
logger.info("Getting current date")
6970
return datetime.now().strftime("%Y-%m-%d")
7071

0 commit comments

Comments
 (0)