[GH-ISSUE #8261] Gemini 3 through an OpenAI-compatible connection: tool rounds fail with "missing a thought_signature" #8208

Closed
opened 2026-10-26 04:03:20 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @kolacheee on GitHub (Oct 24, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8261

Originally assigned to: @kolacheee on GitHub.

With a Gemini 3 model on an OpenAI-compatible connection (Gemini's own OpenAI endpoint, or a proxy that passes it through), the first game turn that calls a tool fails with 400 "Function call is missing a thought_signature in functionCall parts". A retry sometimes gets past it.

Gemini returns each function call's thought signature on the call itself, in tool_calls[].extra_content.google.thought_signature, and requires it back on that call in the next tool round. The OpenAI-compatible adapter rebuilds each call from its id, name and arguments only, so the signature is dropped.

Originally created by @kolacheee on GitHub (Oct 24, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8261 Originally assigned to: @kolacheee on GitHub. With a Gemini 3 model on an OpenAI-compatible connection (Gemini's own OpenAI endpoint, or a proxy that passes it through), the first game turn that calls a tool fails with 400 "Function call is missing a thought_signature in functionCall parts". A retry sometimes gets past it. Gemini returns each function call's thought signature on the call itself, in `tool_calls[].extra_content.google.thought_signature`, and requires it back on that call in the next tool round. The OpenAI-compatible adapter rebuilds each call from its id, name and arguments only, so the signature is dropped.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#8208
No description provided.