Describe the Bug
When running the Gemini CLI with Gemini 3+ or Vertex AI models, conversations fail with a 400 Bad Request/INVALID_ARGUMENT API Error under two common scenarios:
- Executing parallel tool calls in a single turn.
- Hardening/scrubbing history where previous function calls lack signatures.
Error Message:
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.
Describe the Bug
When running the Gemini CLI with Gemini 3+ or Vertex AI models, conversations fail with a 400 Bad Request/INVALID_ARGUMENT API Error under two common scenarios:
Error Message: