Hi! I am trying to use the new Gemini 3 Flash Preview model.
When the model tries to use a tool/function, it crashes with this error: Function call is missing a thought_signature in functionCall parts.
Reason: Gemini 3 requires that we preserve the thought and thought_signature from the model's previous response when sending the history back for a function result. It seems the bot is currently stripping this out or only saving the functionCall part.
Reference: https://ai.google.dev/gemini-api/docs/thought-signatures
Could we update the message history construction to include the thought_signature?