Skip to content

feat(chat): bump AI SDK deps and expose newly released provider models#2043

Merged
samuv merged 2 commits intomainfrom
bump-ai-deps
Apr 20, 2026
Merged

feat(chat): bump AI SDK deps and expose newly released provider models#2043
samuv merged 2 commits intomainfrom
bump-ai-deps

Conversation

@samuv
Copy link
Copy Markdown
Collaborator

@samuv samuv commented Apr 20, 2026

Bumps the @ai-sdk/* packages plus related AI runtime dependencies to their latest versions, and expands the Playground's static model catalog in main/src/chat/constants.ts to 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 by CHAT_PROVIDER_INFO, not by the SDKs' typed *ModelId unions, so users wouldn't see gpt-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.0
  • ai ^6.0.159^6.0.168

Model catalog additions (main/src/chat/constants.ts)

All additions were cross-checked against each provider's SDK-typed *ModelId union:

  • Anthropicclaude-opus-4-7 (Claude 4.7 generation; currently Opus-only in AnthropicMessagesModelId)
  • OpenAIgpt-5.4-mini, gpt-5.4-nano (both now in OpenAIChatModelId / OpenAIResponsesModelId)
  • Googlegemini-pro-latest, gemini-flash-latest, gemini-flash-lite-latest (new "latest" aliases exposed by GoogleGenerativeAIModelId)
  • xAIgrok-4.20-0309-reasoning, grok-4.20-0309-non-reasoning, grok-4.20-multi-agent-0309 (Grok 4.20 family, newly added to XaiChatModelId)

samuv added 2 commits April 20, 2026 10:26
- @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
@samuv samuv self-assigned this Apr 20, 2026
Copilot AI review requested due to automatic review settings April 20, 2026 08:27
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_INFO with 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

Comment thread main/src/chat/constants.ts
@samuv samuv enabled auto-merge (squash) April 20, 2026 08:36
@samuv samuv merged commit 2e017d6 into main Apr 20, 2026
23 checks passed
@samuv samuv deleted the bump-ai-deps branch April 20, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants