Skip to content

Commit 44754d6

Browse files
changes structured temperature to not deadly
1 parent 07ae8c0 commit 44754d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def get_weather(city: str) -> WeatherData:
400400
"""Get weather for a city - returns structured data."""
401401
# Simulated weather data
402402
return WeatherData(
403-
temperature=72.5,
403+
temperature=22.5,
404404
humidity=45.0,
405405
condition="sunny",
406406
wind_speed=5.2,

examples/snippets/servers/structured_output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def get_weather(city: str) -> WeatherData:
2424
"""Get weather for a city - returns structured data."""
2525
# Simulated weather data
2626
return WeatherData(
27-
temperature=72.5,
27+
temperature=22.5,
2828
humidity=45.0,
2929
condition="sunny",
3030
wind_speed=5.2,

0 commit comments

Comments
 (0)