From 55d0b6e8b9498a621565c93625b7e29c96812f21 Mon Sep 17 00:00:00 2001 From: Gyungrai Wang <003213@naver.com> Date: Fri, 16 Jan 2026 09:08:09 +0900 Subject: [PATCH] integration: fix tools_test.go for ToolCallFunctionArguments API change (#13731) --- integration/tools_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/tools_test.go b/integration/tools_test.go index e74f4041..39b3e1a9 100644 --- a/integration/tools_test.go +++ b/integration/tools_test.go @@ -131,7 +131,7 @@ func TestAPIToolCalling(t *testing.T) { t.Errorf("unexpected tool called: got %q want %q", lastToolCall.Function.Name, "get_weather") } - if _, ok := lastToolCall.Function.Arguments["location"]; !ok { + if _, ok := lastToolCall.Function.Arguments.Get("location"); !ok { t.Errorf("expected tool arguments to include 'location', got: %s", lastToolCall.Function.Arguments.String()) } case <-ctx.Done():