Skip to content

Gemini 3.5 Flash on Vertex keeps warning about missing thought_signature #28732

@andrewesweet

Description

@andrewesweet

Description

Using the google-vertex provider with gemini-3.5-flash, I keep getting this warning back from Vertex once a session involves more than one tool call:

Function call is missing a thought_signature in functionCall parts. This is required for tools to work correctly, and missing thought_signature may lead to degraded model performance. Additional data, function call default_api:read, position 11. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.

The session keeps working, it just yells about this every time. On 3.5 Flash it hits almost every multi-turn tool session I do. gemini-3-pro-preview gets it too on the same work, but a lot less often. I can't share the screenshot or the session for this report.

Plugins

None

OpenCode version

1.15.4

Steps to reproduce

  1. Configure the google-vertex provider with valid Vertex AI credentials.
  2. Wire up gemini-3.5-flash via a custom provider entry — OpenCode 1.15.4 doesn't ship the model natively, so it has to be added through opencode's custom provider config.
  3. Start a session and do anything that takes two or more tool calls. /commit works, or just ask it to read one file and grep another.
  4. Look at the second turn (or any later one). The warning shows up under the tool call.

Screenshot and/or share link

No response

Operating System

macOS

Terminal

tmux inside kitty

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions