Skip to content

fix(opencode): bump @ai-sdk/google-vertex to 4.0.131#28913

Draft
andrewesweet wants to merge 1 commit into
anomalyco:devfrom
andrewesweet:fix/google-vertex-thought-signature
Draft

fix(opencode): bump @ai-sdk/google-vertex to 4.0.131#28913
andrewesweet wants to merge 1 commit into
anomalyco:devfrom
andrewesweet:fix/google-vertex-thought-signature

Conversation

@andrewesweet
Copy link
Copy Markdown

Issue for this PR

Closes #28732

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

#28732 is an upstream @ai-sdk/google parser bug, fixed by vercel/ai#14847 (commit 59530cf) 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.json and packages/opencode/package.json (+ lockfile):

  • @ai-sdk/google: 3.0.63 → 3.0.75
  • @ai-sdk/google-vertex: 4.0.112 → 4.0.131

Not the strict minimum (3.0.71 / 4.0.125) because the repo's bunfig.toml has minimumReleaseAge = 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.74 functionCall.id round-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 install clean, lockfile diff is only @ai-sdk updates. 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 under packages/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

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

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>
@andrewesweet andrewesweet marked this pull request as draft May 22, 2026 22:52
@rekram1-node
Copy link
Copy Markdown
Collaborator

oh nice

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gemini 3.5 Flash on Vertex keeps warning about missing thought_signature

2 participants