测试 Gemini 3 接口使用帮助时 API 错误

错误日志是:

{
“error”: {
“code”: 400,
“message”: “Function 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:search , position 2. please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.”,
“status”: “INVALID_ARGUMENT”
}
}

只使用 Helper 出错,如果使用 Creative 没有问题。

Model 地址为:

https://generativelanguage.googleapis.com/v1beta/models/gemini-3-pro-preview

提交官方

提交给官方看看这问题有没有解:Google gemini-3-api helper API response error - Bug - Discourse Meta

貌似官方已经在调试这个问题了。

官方说这个问题已经解决了,并且提交在 PR 中:FEATURE: add support for tracking write tokens and anthropic caching … · discourse/discourse@0e6482f · GitHub

并且代码应该合并到 main 中。