feat(chat): bump AI SDK deps and expose newly released provider models#2043
Merged
feat(chat): bump AI SDK deps and expose newly released provider models#2043
Conversation
- @ai-sdk/anthropic ^3.0.69 -> ^3.0.71 - @ai-sdk/google ^3.0.62 -> ^3.0.64 - @ai-sdk/openai ^3.0.52 -> ^3.0.53 - @ai-sdk/react ^3.0.160 -> ^3.0.170 - @ai-sdk/xai ^3.0.82 -> ^3.0.83 - @modelcontextprotocol/ext-apps ^1.5.0 -> ^1.6.0 - @openrouter/ai-sdk-provider ^2.5.1 -> ^2.8.0 - ai ^6.0.159 -> ^6.0.168
…models - Anthropic: claude-opus-4-7 - OpenAI: gpt-5.4-mini, gpt-5.4-nano - Google: gemini-pro-latest, gemini-flash-latest, gemini-flash-lite-latest - xAI: grok-4.20-0309-reasoning, grok-4.20-0309-non-reasoning, grok-4.20-multi-agent-0309
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the project’s AI SDK/runtime dependencies and expands the Playground’s static chat model catalog so newly supported provider model IDs are selectable in the UI.
Changes:
- Bumped
@ai-sdk/*,ai, and related provider/runtime dependencies to newer versions. - Expanded
CHAT_PROVIDER_INFOwith newly released model IDs for OpenAI, Anthropic, Google, and xAI.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
package.json |
Updates dependency version ranges for the AI SDK packages and related deps. |
pnpm-lock.yaml |
Locks the updated dependency graph for the bumped versions. |
main/src/chat/constants.ts |
Adds newly supported model IDs to the static provider model catalog used by the model picker. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
peppescg
approved these changes
Apr 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the
@ai-sdk/*packages plus related AI runtime dependencies to their latest versions, and expands the Playground's static model catalog inmain/src/chat/constants.tsto surface the new model IDs the upstream SDKs now type. Without the second half of this change, the SDK bumps are effectively dormant on the UI side — the Playground model picker is driven byCHAT_PROVIDER_INFO, not by the SDKs' typed*ModelIdunions, so users wouldn't seegpt-5.4-mini,claude-opus-4-7,grok-4.20-*, etc. until the list is explicitly expanded.Dependency bumps (
package.json+pnpm-lock.yaml)@ai-sdk/anthropic^3.0.69→^3.0.71@ai-sdk/google^3.0.62→^3.0.64@ai-sdk/openai^3.0.52→^3.0.53@ai-sdk/react^3.0.160→^3.0.170@ai-sdk/xai^3.0.82→^3.0.83@modelcontextprotocol/ext-apps^1.5.0→^1.6.0@openrouter/ai-sdk-provider^2.5.1→^2.8.0ai^6.0.159→^6.0.168Model catalog additions (
main/src/chat/constants.ts)All additions were cross-checked against each provider's SDK-typed
*ModelIdunion:claude-opus-4-7(Claude 4.7 generation; currently Opus-only inAnthropicMessagesModelId)gpt-5.4-mini,gpt-5.4-nano(both now inOpenAIChatModelId/OpenAIResponsesModelId)gemini-pro-latest,gemini-flash-latest,gemini-flash-lite-latest(new "latest" aliases exposed byGoogleGenerativeAIModelId)grok-4.20-0309-reasoning,grok-4.20-0309-non-reasoning,grok-4.20-multi-agent-0309(Grok 4.20 family, newly added toXaiChatModelId)