Skip to content

Conversation

@gr2m
Copy link
Collaborator

@gr2m gr2m commented Dec 22, 2025

No description provided.

Jille00 and others added 4 commits December 16, 2025 14:58
…rieval

When using @ai-sdk/google-vertex with Gemini thinking models (e.g. gemini-3-pro),
multi-step tool calls fail with "function call is missing a thought_signature" error.

Root cause: thoughtSignature is stored under providerOptions.vertex but retrieved
using hardcoded providerOptions.google in convertToGoogleGenerativeAIMessages.

This fix:
- Adds providerOptionsName parameter to convertToGoogleGenerativeAIMessages
- Uses dynamic key access instead of hardcoded "google"
- Passes providerOptionsName from getArgs() to the conversion function

Fixes #11181

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants