Skip to content

bug: gemini model errors when using task tool #4571

Closed

Description

@rekram1-node

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

Activity

  1. self-assigned this
    on Nov 21, 2025
  2. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 21, 2025
  3. jamesmengo commented on Nov 22, 2025

    @jamesmengo
    Contributor

    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"
        }
      }
    ]"
    
  4. rekram1-node commented on Nov 22, 2025

    @rekram1-node
    ContributorAuthor

    isnt that the task tool?

  5. jamesmengo commented on Nov 23, 2025

    @jamesmengo
    Contributor

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

  6. rekram1-node commented on Nov 23, 2025

    @rekram1-node
    ContributorAuthor

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

  7. jamesmengo commented on Nov 23, 2025

    @jamesmengo
    Contributor

    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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions