Gemini 3 issue : Function call is missing a thought_signature in functionCall parts #2962

Closed
opened 2026-02-16 17:38:03 -05:00 by yindo · 8 comments
Owner

Originally created by @vasilvestre on GitHub (Nov 19, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

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:grep , position 2. please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details.

OpenCode version

1.0.72

Steps to reproduce

Use gemini 3 model

Screenshot and/or share link

https://opencode.ai/s/DSSOA4qh

Operating System

No response

Terminal

No response

Originally created by @vasilvestre on GitHub (Nov 19, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description 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:grep` , position 2. please refer to https://ai.google.dev/gemini-api/docs/thought-signatures for more details. ### OpenCode version 1.0.72 ### Steps to reproduce Use gemini 3 model ### Screenshot and/or share link https://opencode.ai/s/DSSOA4qh ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 17:38:03 -05:00
yindo closed this issue 2026-02-16 17:38:03 -05:00
Author
Owner

@rekram1-node commented on GitHub (Nov 19, 2025):

@vasilvestre This should be fixed on latest, you may also want to clear your cache:

rm -rf ~/.cache/opencode

@rekram1-node commented on GitHub (Nov 19, 2025): @vasilvestre This should be fixed on latest, you may also want to clear your cache: rm -rf ~/.cache/opencode
Author
Owner

@rekram1-node commented on GitHub (Nov 19, 2025):

lmk if u still see it after upgrading + clearing

@rekram1-node commented on GitHub (Nov 19, 2025): lmk if u still see it after upgrading + clearing
Author
Owner

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

Hey @rekram1-node I'm still facing this issue after upgrading and clearing my cache. It always happens after calling a custom command (e.g. /commit) like in the screenshot below:

Image

OpenCode version

1.0.81

@paflopes commented on GitHub (Nov 20, 2025): Hey @rekram1-node I'm still facing this issue after upgrading and clearing my cache. It always happens after calling a custom command (e.g. `/commit`) like in the screenshot below: <img width="2158" height="218" alt="Image" src="https://github.com/user-attachments/assets/1bcbf85b-789f-4fc2-bab0-aa446b3deebf" /> **OpenCode version** 1.0.81
Author
Owner

@rekram1-node commented on GitHub (Nov 20, 2025):

can u continue the session after that or what happens?

@rekram1-node commented on GitHub (Nov 20, 2025): can u continue the session after that or what happens?
Author
Owner

@rekram1-node commented on GitHub (Nov 20, 2025):

nvm I can replicate

@rekram1-node commented on GitHub (Nov 20, 2025): nvm I can replicate
Author
Owner

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

can u continue the session after that or what happens?

yes I can continue the session normally.

@paflopes commented on GitHub (Nov 20, 2025): > can u continue the session after that or what happens? yes I can continue the session normally.
Author
Owner

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

Same mistake with me

@kangkannnng commented on GitHub (Nov 20, 2025): Same mistake with me
Author
Owner

@vasilvestre commented on GitHub (Nov 21, 2025):

It happens when the batch tool is enabled in my case

@vasilvestre commented on GitHub (Nov 21, 2025): It happens when the batch tool is enabled in my case
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2962