diff --git a/examples/agent/tools/example_weather_tools.py b/examples/agent/tools/example_weather_tools.py index 0436ac1ab..0154d966d 100644 --- a/examples/agent/tools/example_weather_tools.py +++ b/examples/agent/tools/example_weather_tools.py @@ -3,7 +3,7 @@ import random from typing import Literal -def _weather(w: str, temp, f): +def _weather(w: str, temp, format): return f'{w}, {temp}C' if format == 'celsius' \ else f'{w}, {(temp * 9/5) + 32}F'