Gemini3 Thought Signature Tool Use Fix

Fix empty LLM responses after tool use when proxying through Google Gemini 3 models (gemini-3-flash-preview, gemini-3-pro, etc). Use when: (1) bot produces empty text responses specifically after tool calls (web_fetch, exec, browser) but non-tool messages work fine, (2) Google returns 400 "Function call is missing a thought_signature" in proxy logs, (3) multi-turn function calling breaks on second request (tool result submission), (4) all providers fail after tool use causing empty fallback responses. Root cause: Gemini 3 models require opaque thought_signature tokens in tool_call responses that OpenAI-compatible clients strip from conversation history. Solution: proxy-level model routing — use gemini-2.5-flash for tool-bearing requests.

hubeiqiao Updated

File contents

hubeiqiao/skills/tree/main/gemini3-thought-signature-tool-use-fix commit 75273142e3

Frequently asked questions

npx skillmds@latest add hubeiqiao/gemini3-thought-signature-tool-use-fix