From f1d2e477723b789a93ca4a903269f3401d1e2586 Mon Sep 17 00:00:00 2001 From: Michael Yochpaz Date: Mon, 26 Jan 2026 22:06:46 +0000 Subject: [PATCH] fix(google-vertex-anthropic): use @ai-sdk/google-vertex/anthropic npm package The google-vertex-anthropic provider requires the `/anthropic` subpath import for thinking/reasoning to work correctly with Claude models on Vertex AI. --- providers/google-vertex-anthropic/provider.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/google-vertex-anthropic/provider.toml b/providers/google-vertex-anthropic/provider.toml index 80f7683a9..d4b927a6d 100644 --- a/providers/google-vertex-anthropic/provider.toml +++ b/providers/google-vertex-anthropic/provider.toml @@ -1,4 +1,4 @@ name = "Vertex (Anthropic)" env = ["GOOGLE_VERTEX_PROJECT", "GOOGLE_VERTEX_LOCATION", "GOOGLE_APPLICATION_CREDENTIALS"] -npm = "@ai-sdk/google-vertex" +npm = "@ai-sdk/google-vertex/anthropic" doc = "https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/claude" \ No newline at end of file