Skip to content

Commit 6640bc2

Browse files
committed
Change weather update tool name to prevent conflict with ADK tool
1 parent 8881294 commit 6640bc2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/frameworks/nat_autogen_demo/configs/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ llms:
3838

3939
functions:
4040
weather_update_tool:
41-
_type: weather_update
41+
_type: nat_autogen_demo/weather_update_autogen
4242
description: "Get the current weather for a specified city"
4343

4444
workflow:

examples/frameworks/nat_autogen_demo/src/nat_autogen_demo/weather_update_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from nat.data_models.function import FunctionBaseConfig
2424

2525

26-
class WeatherToolConfig(FunctionBaseConfig, name="weather_update"):
26+
class WeatherToolConfig(FunctionBaseConfig, name="weather_update_autogen"):
2727
"""Configuration for the weather update tool."""
2828

2929

0 commit comments

Comments
 (0)