chore(deps-dev): bump @ai-sdk/openai from 2.0.20 to 3.0.49#763
chore(deps-dev): bump @ai-sdk/openai from 2.0.20 to 3.0.49#763dependabot[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| @@ -33,7 +33,7 @@ | |||
| }, | |||
| "devDependencies": { | |||
There was a problem hiding this comment.
Provider protocol version mismatch between
ai core and @ai-sdk/openai
This major version bump introduces a provider protocol mismatch. The lockfile reveals that after this change, the installed packages use two different, incompatible versions of the shared provider protocol:
| Package | @ai-sdk/provider |
@ai-sdk/provider-utils |
|---|---|---|
ai@5.0.52 (core) |
2.0.0 |
3.0.9 |
@ai-sdk/anthropic@2.0.6 |
2.0.0 |
3.0.5 |
@ai-sdk/openai@3.0.49 |
3.0.8 |
4.0.21 |
Before this bump, @ai-sdk/openai@2.0.20 also used @ai-sdk/provider@2.0.0 and @ai-sdk/provider-utils@3.0.5, keeping it aligned with the rest of the stack.
Now @ai-sdk/openai@3.x is ahead of the core ai@5.x on the provider protocol. When generateText/streamText/etc. from ai@5.x receives a model object from openai("gpt-3.5-turbo"), it calls methods on it according to the @ai-sdk/provider@2.x interface. If the interface changed in v3, those calls can fail at runtime. All the E2E tests in tests/e2e/vercel-ai-sdk.e2e.test.ts exercise this code path.
The companion @ai-sdk/anthropic package is pinned to ^2, which aligns correctly with the core. Consider pinning @ai-sdk/openai back to ^2 until the ai core is updated to use @ai-sdk/provider@3.x, or verifying that the AI SDK officially supports this @ai-sdk/openai@3.x + ai@5.x combination.
a07dc95 to
cd3b005
Compare
cd3b005 to
3e4eb14
Compare
Bumps [@ai-sdk/openai](https://github.com/vercel/ai) from 2.0.20 to 3.0.49. - [Release notes](https://github.com/vercel/ai/releases) - [Changelog](https://github.com/vercel/ai/blob/main/CHANGELOG.md) - [Commits](https://github.com/vercel/ai/compare/@ai-sdk/openai@2.0.20...@ai-sdk/openai@3.0.49) --- updated-dependencies: - dependency-name: "@ai-sdk/openai" dependency-version: 3.0.49 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
3e4eb14 to
40c8cdc
Compare
|
Superseded by #782. |
Bumps @ai-sdk/openai from 2.0.20 to 3.0.49.
Release notes
Sourced from
@ai-sdk/openai's releases.Commits
7372f61Version Packages (#13936)bc01093Backport: fix(openai): support file-url parts in tool output content (#13933)2fa944aVersion Packages (#13925)5d61547Backport: fix(xai): correctly map the finish-reason (#13922)1d519d4Version Packages (#13919)4e22c2cBackport: feat(provider/google): add support for service tier parameter (#13916)d1eccb5Version Packages (#13882)768a9d6Backport: feat (provider/gateway): add get-generation support (#13870)f07a378Version Packages (#13862)95fedf0Backport: feat (provider/gateway): add spend reporting support (#13859)