fix(gemini): gemini-3-pro-preview function call is missing a thought_signature in functionCall parts. #812

Closed
opened 2026-02-16 10:20:35 -05:00 by yindo · 5 comments
Owner

Originally created by @QIN2DIM on GitHub (Nov 18, 2025).

Originally assigned to: @QIN2DIM on GitHub.

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

v1.9.1

Plugin version

0.6.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

✔️ Error log

Run failed: Failed to transform agent message: req_id: b70298d58e PluginInvokeError: {"args":{},"error_type":"Exception","message":"read llm model failed: request failed: [google] Error: req_id: f1c9eb12f8 PluginInvokeError: {\"args\":{},\"error_type\":\"ClientError\",\"message\":\"400 INVALID_ARGUMENT. {'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:current_time` , position 4. please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.', 'status': 'INVALID_ARGUMENT'}}\"}"}
Image
Originally created by @QIN2DIM on GitHub (Nov 18, 2025). Originally assigned to: @QIN2DIM on GitHub. ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version v1.9.1 ### Plugin version 0.6.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce ### ✔️ Error log ```markdown Run failed: Failed to transform agent message: req_id: b70298d58e PluginInvokeError: {"args":{},"error_type":"Exception","message":"read llm model failed: request failed: [google] Error: req_id: f1c9eb12f8 PluginInvokeError: {\"args\":{},\"error_type\":\"ClientError\",\"message\":\"400 INVALID_ARGUMENT. {'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:current_time` , position 4. please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.', 'status': 'INVALID_ARGUMENT'}}\"}"} ``` <img width="1105" height="599" alt="Image" src="https://github.com/user-attachments/assets/ef7c03fa-38fc-4899-b383-c0777a98fcfe" />
yindo added the bug label 2026-02-16 10:20:35 -05:00
yindo closed this issue 2026-02-16 10:20:35 -05:00
Author
Owner

@gabecowan commented on GitHub (Nov 20, 2025):

Same issue for us.

@gabecowan commented on GitHub (Nov 20, 2025): Same issue for us.
Author
Owner

@migege commented on GitHub (Nov 25, 2025):

Same issue, looking forward to getting it fixed

@migege commented on GitHub (Nov 25, 2025): Same issue, looking forward to getting it fixed
Author
Owner

@QIN2DIM commented on GitHub (Nov 25, 2025):

@laipz8200

@QIN2DIM commented on GitHub (Nov 25, 2025): @laipz8200
Author
Owner

@laipz8200 commented on GitHub (Nov 27, 2025):

It seems we have found some bypass methods. I suggest using this method first.

@laipz8200 commented on GitHub (Nov 27, 2025): It seems we have found some bypass methods. I suggest using this method first.
Author
Owner

@dosubot[bot] commented on GitHub (Dec 13, 2025):

Hi, @QIN2DIM. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported a bug in the gemini-3-pro-preview plugin where a missing thought_signature in functionCall parts causes a 400 INVALID_ARGUMENT error.
  • This error degrades model performance in a self-hosted Docker setup.
  • Other users like gabecowan and migege have confirmed experiencing the same issue.
  • Contributor laipz8200 mentioned some bypass methods as temporary workarounds.
  • The issue remains unresolved with ongoing community interest.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here to keep the discussion open.
  • If I do not hear back within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Dec 13, 2025): Hi, @QIN2DIM. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported a bug in the gemini-3-pro-preview plugin where a missing thought_signature in functionCall parts causes a 400 INVALID_ARGUMENT error. - This error degrades model performance in a self-hosted Docker setup. - Other users like gabecowan and migege have confirmed experiencing the same issue. - Contributor laipz8200 mentioned some bypass methods as temporary workarounds. - The issue remains unresolved with ongoing community interest. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here to keep the discussion open. - If I do not hear back within 5 days, I will automatically close this issue. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#812