[PR #10743] refactor(provider): remove google-vertex-anthropic special case in ge… #13548

Closed
opened 2026-02-16 18:18:23 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10743

State: closed
Merged: Yes


Remove redundant google-vertex-anthropic special case in getSDK()

Context

The getSDK() function had a workaround that manually mapped google-vertex-anthropic to @ai-sdk/google-vertex/anthropic because models.dev was returning the incorrect NPM package (@ai-sdk/google-vertex).

This special case will no longer be needed once fix will be merged on https://github.com/anomalyco/models.dev/pull/717

Related to https://github.com/anomalyco/opencode/issues/9894

Caution

Merge only after https://github.com/anomalyco/models.dev/pull/717 is merged and the fix is applied on models.dev.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10743 **State:** closed **Merged:** Yes --- Remove redundant `google-vertex-anthropic` special case in `getSDK()` ## Context The getSDK() function had a workaround that manually mapped `google-vertex-anthropic` to `@ai-sdk/google-vertex/anthropic` because models.dev was returning the incorrect NPM package (`@ai-sdk/google-vertex`). This special case will no longer be needed once fix will be merged on https://github.com/anomalyco/models.dev/pull/717 Related to https://github.com/anomalyco/opencode/issues/9894 > [!CAUTION] > Merge only after https://github.com/anomalyco/models.dev/pull/717 is merged and the fix is applied on models.dev.
yindo added the pull-request label 2026-02-16 18:18:23 -05:00
yindo closed this issue 2026-02-16 18:18:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13548