Skip to content

fix(examples): align OpenAI provider v4 with AI SDK 7 - #2057

Merged
jbeckwith-oai merged 2 commits into
mainfrom
dependabot/npm_and_yarn/ai-sdk/openai-4.0.83
Oct 9, 2026
Merged

jbeckwith-oai merged 2 commits into
mainfrom
dependabot/npm_and_yarn/ai-sdk/openai-4.0.83

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Updates the private AI SDK examples to @ai-sdk/openai 4.0.83 and aligns the UI example with ai 7 / @ai-sdk/react 4. The script now uses instructions, and its README explains the migration.

This does not change published SDK code, public APIs, or existing AI SDK 6/7 support. Consumers of the published packages do not need to migrate. Developers copying the updated UI example should use the AI SDK 7 dependency set and migration guide linked in its README.

Restores eventsource-parser's legacy TypeScript stream declaration mapping with a metadata-only patch so package declaration checks pass.

Validation: affected example typechecks, 233 adapter/stream tests, an offline AI SDK 7 interoperability probe, and all GitHub CI checks pass. Local full verification had the documented Docker/macOS environment failures; green GitHub CI is the user-approved final gate.

Bumps [@ai-sdk/openai](https://github.com/vercel/ai/tree/HEAD/packages/openai) from 3.0.109 to 4.0.83.
- [Release notes](https://github.com/vercel/ai/releases)
- [Changelog](https://github.com/vercel/ai/blob/main/packages/openai/CHANGELOG.md)
- [Commits](https://github.com/vercel/ai/commits/@ai-sdk/openai@4.0.83/packages/openai)

---
updated-dependencies:
- dependency-name: "@ai-sdk/openai"
  dependency-version: 4.0.83
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner October 9, 2026 20:39
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 9, 2026
@changeset-bot

changeset-bot Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 09111f4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-09T22:08:15.358873Z 09111f4 New commits
🔒 Security Review ✅ Completed 2026-10-09T22:09:12.972031Z 09111f4 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: aed7224a56

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread examples/ai-sdk-ui/package.json

@jbeckwith-oai jbeckwith-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed the private-example migration to AI SDK 7/OpenAI provider 4, instructions rename, and declaration metadata patch. Published SDK runtime, public APIs, and AI SDK 6/7 peer support remain unchanged. Example typechecks, 233 adapter/stream tests, and the offline AI SDK 7 interoperability probe pass. Independent review found no blockers. Require green CI before merging.

@jbeckwith-oai jbeckwith-oai changed the title fix(deps): bump @ai-sdk/openai from 3.0.109 to 4.0.83 fix(examples): align OpenAI provider v4 with AI SDK 7 Oct 9, 2026
@jbeckwith-oai
jbeckwith-oai merged commit 0712e8e into main Oct 9, 2026
16 checks passed
@jbeckwith-oai
jbeckwith-oai deleted the dependabot/npm_and_yarn/ai-sdk/openai-4.0.83 branch October 9, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant