Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 22, 2025

This PR contains the following updates:

Package Type Update Change OpenSSF
@ai-sdk/openai (source) dependencies major 2.0.88 -> 3.0.1 OpenSSF Scorecard

Release Notes

vercel/ai (@​ai-sdk/openai)

v3.0.1

Compare Source

Patch Changes
  • ai@​6.0.1

v3.0.0

Compare Source

Major Changes
  • 51054a9: Add ai/rsc with support for AI Server Components

Configuration

📅 Schedule: Branch creation - At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday ( * 0-4,22-23 * * 1-5 ), Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Dependency updates label Dec 22, 2025
@github-actions github-actions bot added the qa:running QA workflow is currently running label Dec 22, 2025
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 2 files

@github-actions github-actions bot added status:ready-for-review Pull request is ready for review qa:failed QA workflow failed and removed qa:running QA workflow is currently running labels Dec 22, 2025
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/ai-sdk-openai-3.x branch from de3299b to 916c7fb Compare December 23, 2025 18:41
@github-actions github-actions bot added qa:running QA workflow is currently running qa:failed QA workflow failed and removed qa:failed QA workflow failed qa:running QA workflow is currently running labels Dec 23, 2025
},
"dependencies": {
"@ai-sdk/openai": "2.0.88",
"@ai-sdk/openai": "3.0.1",
Copy link

Choose a reason for hiding this comment

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

Bug: Updating @ai-sdk/openai to v3.0.1 without updating the ai package creates an interface mismatch, as streamText() expects a model with an older provider interface.
Severity: CRITICAL | Confidence: High

🔍 Detailed Analysis

The update of @ai-sdk/openai to v3.0.1 introduces a breaking change to its provider interface. The existing ai package (v5.0.116) and its streamText() function depend on an older provider interface (@ai-sdk/provider@2.0.0). The new @ai-sdk/openai package provides a model object implementing a newer interface (@ai-sdk/provider@3.0.0). This version mismatch will cause a runtime error when streamText() is called with the incompatible model object, which will break the chat functionality.

💡 Suggested Fix

To resolve the incompatibility, update the ai and @ai-sdk/react packages to versions that are compatible with @ai-sdk/openai@3.0.1. This will ensure all related packages use the same provider interface specification, preventing the runtime type mismatch.

🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: package.json#L19

Potential issue: The update of `@ai-sdk/openai` to v3.0.1 introduces a breaking change
to its provider interface. The existing `ai` package (v5.0.116) and its `streamText()`
function depend on an older provider interface (`@ai-sdk/provider@2.0.0`). The new
`@ai-sdk/openai` package provides a model object implementing a newer interface
(`@ai-sdk/provider@3.0.0`). This version mismatch will cause a runtime error when
`streamText()` is called with the incompatible model object, which will break the chat
functionality.

Did we get this right? 👍 / 👎 to inform future reviews.
Reference ID: 7883506

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates qa:failed QA workflow failed status:ready-for-review Pull request is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant