From 9b62f1f87c3429dc29bf7c33bef082d4be13c8a1 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Fri, 22 May 2026 18:40:31 +0200 Subject: [PATCH] Fix Anthropic eager tool input compat test --- packages/ai/test/anthropic-eager-tool-input-compat.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ai/test/anthropic-eager-tool-input-compat.test.ts b/packages/ai/test/anthropic-eager-tool-input-compat.test.ts index c6df9c3e..0560563a 100644 --- a/packages/ai/test/anthropic-eager-tool-input-compat.test.ts +++ b/packages/ai/test/anthropic-eager-tool-input-compat.test.ts @@ -22,7 +22,7 @@ function createModel(baseUrl: string, compat?: Model<"anthropic-messages">["comp cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 }, contextWindow: 200000, maxTokens: 32000, - compat, + compat: { forceAdaptiveThinking: true, ...compat }, }; }