Replies: 2 comments
-
|
⏺ Implementation Branch: |
Beta Was this translation helpful? Give feedback.
-
|
The proposed approach of preserving real A safer fix: when a tool call has no valid signature for the target model, use Google's official dummy I have a working implementation + test in #1491 (auto-closed by the bot — happy to resubmit once approved). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
When switching models mid-session (e.g. Claude via Antigravity → Gemini 3), tool calls from the previous model lose their
thoughtSignaturebecausetransformMessages()strips it when!isSameModel.Gemini 3 with thinking mode requires
thoughtSignatureon all function calls. Without it,convertMessages()falls back to[Historical context: a different model called tool...]plain text. The model then mimics that pattern in its own output, polluting the session.Proposed Fix
thoughtSignatureon cross-model replay — let each provider'sconvertMessages()decideValid base64 signatures work cross-model for Google APIs. I have a working branch with tests passing.
Beta Was this translation helpful? Give feedback.
All reactions