fix(opencode): bump @ai-sdk/google-vertex to 4.0.131#28913
Draft
andrewesweet wants to merge 1 commit into
Draft
Conversation
Picks up vercel/ai#14847 (commit 59530cf) in @ai-sdk/google@3.0.71 and @ai-sdk/google-vertex@4.0.125, which fixes the parser bug that dropped no-args Vertex function-call chunks and the thoughtSignature they carried. Closes anomalyco#28732. Goes to 3.0.75 / 4.0.131 rather than the strict minimum because bunfig.toml's minimumReleaseAge = 259200 blocks 3.0.77+ / 4.0.133+, and 3.0.76 / 4.0.132 aren't published on npm. 3.0.75 / 4.0.131 is the highest the policy allows. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Collaborator
|
oh nice |
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.
Issue for this PR
Closes #28732
Type of change
What does this PR do?
#28732 is an upstream
@ai-sdk/googleparser bug, fixed by vercel/ai#14847 (commit59530cf) in@ai-sdk/google@3.0.71/@ai-sdk/google-vertex@4.0.125. Picks up on the Vertex side via the bump.Bumps in
packages/core/package.jsonandpackages/opencode/package.json(+ lockfile):@ai-sdk/google: 3.0.63 → 3.0.75@ai-sdk/google-vertex: 4.0.112 → 4.0.131Not the strict minimum (3.0.71 / 4.0.125) because the repo's
bunfig.tomlhasminimumReleaseAge = 259200, which blocks anything younger than 3 days, so the npm latest (3.0.79 / 4.0.135) and 3.0.77, 3.0.78 / 4.0.133, 4.0.134 are out. 3.0.76 / 4.0.132 aren't published on npm. 3.0.75 / 4.0.131 is the highest the policy allows, and it picks up 3.0.72 Interactions API abort, 3.0.73 embedding fileData, 3.0.74functionCall.idround-trip, 3.0.75 Interactions API adaptation, plus 4.0.131's project-id propagation fix. None touch the Vertex tool-call path.How did you verify your code works?
bun installclean, lockfile diff is only@ai-sdkupdates. Typecheck passes in core, opencode, llm. Targeted tests pass:provider-google.test.ts,provider-google-vertex.test.ts,gemini.test.ts,transform.test.ts, and the session suite underpackages/opencode/test/session/. Haven't reproduced the live Vertex 3.5 Flash session end-to-end yet, doing that next.Screenshots / recordings
Not applicable, no UI change.
Checklist