I’m going to use the TodoWrite tool to create a todo list to plan and track the refactoring of the chat page.
toolName: todo_write
status: success
Todos updated: 3 itemsFunction call is missing a thought_signature in functionCall parts. This is required for tools to work correctly, and missing thought_signature may lead to degraded model performance. Additional data, function call default_api:TodoWrite , position 8. Please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details. (HTTP Status: 400)
这个 Function call is missing a thought_signature 报错,主要是因为谷歌 Gemini 系列模型(特别是 3.5 Flash 和 3.1 Pro 等版本)对函数调用(Tool Call)有特殊的签名要求。目前在 TRAE 的 SOLO 模式下,当模型尝试调用工具(比如你图中的 TodoWrite)来修改项目时,如果接口没能正确传递这个签名,就会触发谷歌后端的 400 报错。