fix: bump @anthropic-ai/vertex-sdk to ^0.13.0 for global region support

The pinned version (0.7.0) constructs an incorrect base URL for the
Vertex AI global endpoint: `global-aiplatform.googleapis.com` instead
of `aiplatform.googleapis.com`. This causes a 404 when using models
like Claude Opus 4.6 that are available on the global endpoint.

The fix was released upstream in v0.13.0 (anthropics/anthropic-sdk-typescript#449).
No breaking API changes exist between 0.7.0 and 0.13.0+.

Fixes: global region 404 for Claude on Vertex AI
This commit is contained in:
Carl Gabel 2026-02-06 01:50:11 +00:00
parent 6a32b2e6fe
commit 49a34f9c3a

View file

@ -461,7 +461,7 @@
"sambanova-ai-provider": "^1.2.2",
"@anthropic-ai/bedrock-sdk": "^0.10.2",
"@anthropic-ai/sdk": "^0.37.0",
"@anthropic-ai/vertex-sdk": "^0.7.0",
"@anthropic-ai/vertex-sdk": "^0.13.0",
"@aws-sdk/client-bedrock-runtime": "^3.922.0",
"@aws-sdk/credential-providers": "^3.922.0",
"@google/genai": "^1.29.1",