Repository navigation
chore(deps): bump ai to v6 and @ai-sdk/* to match - #64
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lautaropaske
force-pushed
the
lautaropaske/grokbot-grade-alert
branch
from
November 3, 2026 11:32
23b2b5c to
1436465
Compare
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.
Summary
The "exists error in production @ vercel (open-silver)" alert fired for
/api/gradebecause AI Gateway started returning a deprecation warning for AI SDK 5. The SDK printed it to stderr, and Vercel tags stderr as ERROR. This PR fixes the cause: the SDK moves to v6, so the gateway no longer sends the warning.Every package is pinned to its
ai-v6dist-tag line.@ai-sdk/gatewayand@ai-sdk/reactwere already on 4.x, which belongs to the v7 line, so they move to 3.x to match. That leaves oneaiand one gateway in the tree.The only breaking change that touched code:
LanguageModelUsagenow requiresinputTokenDetailsandoutputTokenDetails. That's in a test fixture intests/api/grade.test.ts. No app code changed.Evidence
(node:8) Warning: AI SDK Warning: AI Gateway support for AI SDK 5 is deprecated. Upgrade to AI SDK 6 or later…All 11 affected requests returned 200 with
outcome: graded.POST /api/gradewithpublic/a_resume.pdfreturned 200, gradeA, in 18s. Runtime logs show only{"http.route":"/api/grade","outcome":"graded",…,"finishReason":"stop"}, with no AI SDK warning and no stderr line.bunx tsc --noEmit,bun run lintandbun run test(195/195) all pass.Merge Danger
Door: two-way
This is a dependency bump; reverting the commit undoes it.
Blast Radius: AI routes
/api/gradewas checked live on the preview. Roast-me (streamObjectandexperimental_useObject) passes tsc and its tests, but wasn't run live.🤖 Generated with Claude Code