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 c663d10 commit 44ce5a3Copy full SHA for 44ce5a3
examples/basic/tools.py
@@ -13,6 +13,7 @@ class Weather(BaseModel):
13
14
@function_tool
15
def get_weather(city: str) -> Weather:
16
+ """Get the current weather information for a specified city."""
17
print("[debug] get_weather called")
18
return Weather(city=city, temperature_range="14-20C", conditions="Sunny with wind.")
19
0 commit comments