From efbf6d209292c8c6108949883d27435b0c4c2caa Mon Sep 17 00:00:00 2001 From: alfadb Date: Wed, 20 May 2026 22:13:01 +0800 Subject: [PATCH] fix(test): update FilterThinkingBlocksForRetry call to use mappedModel param The function signature was changed to require a mappedModel parameter for protocol-aware thinking-block filtering, but this test call site was not updated. Without the fix, the unit test build fails on CI. --- backend/internal/service/gateway_request_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/service/gateway_request_test.go b/backend/internal/service/gateway_request_test.go index 68ab6ceb60..07b5b37ff1 100644 --- a/backend/internal/service/gateway_request_test.go +++ b/backend/internal/service/gateway_request_test.go @@ -401,7 +401,7 @@ func TestFilterThinkingBlocksForRetry_DropsThinkingBlockWithEmptyContent(t *test ] }`) - out := FilterThinkingBlocksForRetry(input) + out := FilterThinkingBlocksForRetry(input, "claude-sonnet-4-5") var req map[string]any require.NoError(t, json.Unmarshal(out, &req))