-
Notifications
You must be signed in to change notification settings - Fork 3k
[BUG] 使用Gemini模型时调用工具后请求失败 #12050
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Problem (one or two sentences)
使用Gemini模型时调用工具后就会请求失败,报错
Date/time: 2026-04-03T12:39:47.964Z
Extension version: 0.0.8143
Provider: gemini
Model: gemini-3.1-pro-preview
Gemini 生成上下文流错误:{"error":{"code":400,"message":"Unable to submit request because Thought signature is not valid.. Learn more: https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/gemini","status":"INVALID_ARGUMENT"}}
Context (who is affected and when)
再调用任意工具后,包括读取,使用skill等
Reproduction steps
1.Windows Roocode v3.51.1
2, 正常请求并正常回复
3. AI调用工具
4. 请求失败,报错Unable to submit request because Thought signature is not valid.
Expected result
正常继续
Actual result
请求失败
Variations tried (optional)
No response
App Version
v3.51.1
API Provider (optional)
Google Gemini
Model Used (optional)
gemini-3.1-pro-preview-customtools
Roo Code Task Links (optional)
No response
Relevant logs or errors (optional)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working