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 701a7fc commit b476f13Copy full SHA for b476f13
docs/testing/Examples/langgraph.md
@@ -116,7 +116,7 @@ def test_weather_agent_with_sf_and_nyc(weather_agent):
116
find_weather_tool_calls = trace.tool_calls(name="_find_weather")
117
assert_true(len(find_weather_tool_calls) == 2)
118
find_weather_tool_call_args = str(
119
- F.map(lambda x: x["function"]["arguments"], find_weather_tool_calls)
+ F.map(lambda x: x.argument(), find_weather_tool_calls)
120
)
121
assert_true(
122
"San Francisco" in find_weather_tool_call_args
0 commit comments