fix: preserve thought_signature in Gemini streaming tool calls
Gemini thinking models (2.5+, 3.x) require thought_signature on functionCall parts when sent back in conversation history. The streaming path was extracting only name/args into plain dicts, losing the signature. Return raw Part objects (matching the non-streaming path) so the executor preserves them via raw_tool_call_parts.
G
Greyson LaLonde committed
48f391092c753ee056ece89c307f4ffe0bf9dbf6
Parent: ae242c5
Committed by GitHub <noreply@github.com>
on 4/20/2026, 4:01:55 PM