mirror of
https://github.com/cline/cline.git
synced 2026-09-19 02:05:44 +08:00
* fix: use correct base URL for Vertex AI global endpoint with Claude models
The AnthropicVertex SDK constructs the API hostname as
`${region}-aiplatform.googleapis.com`, which produces
`global-aiplatform.googleapis.com` when region is "global".
This hostname does not exist and returns 404.
Per Google Cloud docs, the correct global endpoint hostname is
`aiplatform.googleapis.com` (no region prefix). This fix overrides
the baseURL when region is "global" to use the correct hostname.
Fixes #10287
* chore: add changeset for vertex global endpoint fix
* fix: rebase on main and re-apply global endpoint baseURL override