chore(templates): update vercel-ai-sdk overlays to ai v7 and @ai-sdk/openai v4 - #1232
Merged
Merged
Conversation
…openai v4 Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
AbhinRustagi
approved these changes
Sep 23, 2026
AbhinRustagi
enabled auto-merge (squash)
September 23, 2026 07:50
AbhinRustagi
deleted the
devin/1790149751-vercel-ai-sdk-templates-ai7
branch
September 23, 2026 07:53
This branch was successfully deployed
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.
What
Bumps the
vercel-ai-sdkoverlays of both CLI templates to the current AI SDK majors and moves the chat route off the deprecatedresult.toUIMessageStreamResponse().Changes
templates/{openui-cloud,openui-self-hosted}/overlays/vercel-ai-sdk/manifest.json:ai^6.0.x→^7.0.111,@ai-sdk/openai^3.0.x→^4.0.72(self-hosted also switches from exact pins to caret ranges, matching the cloud overlay).package-lock.jsonfiles (same merge logic asscripts/manage-starters.mjs).src/app/api/chat/route.tsin both overlays:Test Plan
npm ciagainst the new lockfiles, thentsc --noEmit,eslinton the route, andnext buildall pass for both.next start+curl POST /api/chat: it streams a valid UI message stream (start→text-start→text-delta…).cli-e2e-overlayscovers thevercel-ai-sdkoverlay for both templates.Checklist
toUIMessageStreamResponseare out of scope here)Link to Devin session: https://app.devin.ai/sessions/cbd95f4a33144917a7530712e8086a03
Open in Devin Desktop: https://app.devin.ai/desktop/session/cbd95f4a33144917a7530712e8086a03?variant=devin