kimi-code/.changeset/fix-gemini-tool-calling.md
Haozhe ebdffc7df7
fix(gemini): fix Gemini tool calling and thought-signature round-trip (#1389)
- send tool declarations, system prompt, and sampling/thinking settings in the camelCase shape the Google SDK forwards so tool calls reach the model
- thread tool-call extras (thought signatures) through the loop tool-call event into context so Gemini 3 can resume a tool turn
- update and add tests for the corrected request shape and signature round-trip
2026-07-05 14:00:09 +08:00

149 B

@moonshot-ai/kimi-code
patch

Fix tool calling with Google Gemini models, including Gemini 3 thinking-signature round-trips across turns.