bug: gemini model errors when using task tool #3015

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

Originally created by @rekram1-node on GitHub (Nov 21, 2025).

Originally assigned to: @rekram1-node on GitHub.

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

Originally posted by @paflopes in #4481

Originally created by @rekram1-node on GitHub (Nov 21, 2025). Originally assigned to: @rekram1-node on GitHub. > 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 _Originally posted by @paflopes in [#4481](https://github.com/sst/opencode/issues/4481#issuecomment-3560099815)_
yindo added the opentuibug labels 2026-02-16 17:38:15 -05:00
yindo closed this issue 2026-02-16 17:38:15 -05:00
Author
Owner

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

I believe this may also impact other tools. Dropping some responses in case this is helpful:

"responseBody": "[
  {
    "error": {
      "code": 400,
      "message": "Unable to submit request because function call `default_api:task` in the 2. content block is missing a `thought_signature`. Learn more: https://docs.cloud.google.com/vertex-ai/generative-ai/docs/thought-signatures",
      "status": "INVALID_ARGUMENT"
    }
  }
]"
 "responseBody": "[
  {
    "error": {
      "code": 400,
      "message": "Unable to submit request because function call `default_api:bash` in the 5. content block is missing a `thought_signature`. Learn more: https://docs.cloud.google.com/vertex-ai/generative-ai/docs/thought-signatures",
      "status": "INVALID_ARGUMENT"
    }
  }
]"
@jamesmengo commented on GitHub (Nov 21, 2025): I believe this may also impact other tools. Dropping some responses in case this is helpful: ``` "responseBody": "[ { "error": { "code": 400, "message": "Unable to submit request because function call `default_api:task` in the 2. content block is missing a `thought_signature`. Learn more: https://docs.cloud.google.com/vertex-ai/generative-ai/docs/thought-signatures", "status": "INVALID_ARGUMENT" } } ]" ``` ``` "responseBody": "[ { "error": { "code": 400, "message": "Unable to submit request because function call `default_api:bash` in the 5. content block is missing a `thought_signature`. Learn more: https://docs.cloud.google.com/vertex-ai/generative-ai/docs/thought-signatures", "status": "INVALID_ARGUMENT" } } ]" ```
Author
Owner

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

isnt that the task tool?

@rekram1-node commented on GitHub (Nov 21, 2025): isnt that the task tool?
Author
Owner

@jamesmengo commented on GitHub (Nov 23, 2025):

read and bash were also returning the same error.
Replicated on 1.0.106 today

@jamesmengo commented on GitHub (Nov 23, 2025): `read` and `bash` were also returning the same error. Replicated on `1.0.106` today
Author
Owner

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

are you using gemini through google, zen, or openrouter. Because openrouter still has bugs on their end

@rekram1-node commented on GitHub (Nov 23, 2025): are you using gemini through google, zen, or openrouter. Because openrouter still has bugs on their end
Author
Owner

@jamesmengo commented on GitHub (Nov 23, 2025):

Ah, that may be related. Im accessing it through an internal proxy that my org has set up (similar to openrouter). Can look into during the week

@jamesmengo commented on GitHub (Nov 23, 2025): Ah, that may be related. Im accessing it through an internal proxy that my org has set up (similar to openrouter). Can look into during the week
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3015