mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-09 17:29:12 +00:00
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
This commit is contained in:
parent
be7c9916b0
commit
ebdffc7df7
8 changed files with 201 additions and 113 deletions
5
.changeset/fix-gemini-tool-calling.md
Normal file
5
.changeset/fix-gemini-tool-calling.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"@moonshot-ai/kimi-code": patch
|
||||
---
|
||||
|
||||
Fix tool calling with Google Gemini models, including Gemini 3 thinking-signature round-trips across turns.
|
||||
Loading…
Add table
Add a link
Reference in a new issue