Skip to content

Commit ea62b8a

Browse files
committed
fix langgraph tool to match example
1 parent aff3264 commit ea62b8a

File tree

1 file changed

+2
-2
lines changed
  • typescript-sdk/integrations/langgraph/examples/python/agents/backend_tool_rendering

1 file changed

+2
-2
lines changed

typescript-sdk/integrations/langgraph/examples/python/agents/backend_tool_rendering/agent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818

1919

2020
@tool
21-
def get_weather(city: str):
21+
def get_weather(location: str):
2222
"""
23-
Get the weather for a given city.
23+
Get the weather for a given location.
2424
"""
2525
return {
2626
"temperature": 20,

0 commit comments

Comments
 (0)