Skip to content

Commit a6378ce

Browse files
authored
Docs: Add missing docstring to get_weather function (#1478)
1 parent 4b229d1 commit a6378ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/basic/tools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class Weather(BaseModel):
1313

1414
@function_tool
1515
def get_weather(city: str) -> Weather:
16+
"""Get the current weather information for a specified city."""
1617
print("[debug] get_weather called")
1718
return Weather(city=city, temperature_range="14-20C", conditions="Sunny with wind.")
1819

0 commit comments

Comments
 (0)