Skip to content

Bad Request: Invalid signature in thinking block when calling jiekou/claude-opus-4.6 #15074

Description

@Hayden727

Description

When invoking the model jiekou/claude-opus-4.6 using opencode version 1.2.13, I receive a 400 Bad Request error with the following details:

Bad Request: InvokeModelWithResponseStream: operation error Bedrock Runtime: InvokeModelWithResponseStream, https response error StatusCode: 400, RequestID: 9f83dbec-9a43-41a3-bd42-12f1368c3089, ValidationException: ***.***.content.0: Invalid `signature` in `thinking` block (request id: 20260225141044173361254Wx47AhVR) (request id: 2026022522103175849703kDgdrQvD) (request id: 20260225141030873658306m3CrpPJJ) (request id: 20260225221029913578496LJYoYIWP) trace_id: 075eefa35d1757e5153230a63c46a7a4

The error indicates that the signature field inside a thinking block is invalid. It appears that the request might contain a thinking block structure that is not properly formed or is not supported by the model.

Plugins

oh-my-opencode

OpenCode version

1.2.13

Steps to reproduce

  1. Use opencode version 1.2.13 with oh-my-opencode.
  2. Configure the model endpoint for jiekou/claude-opus-4.6.
  3. Send a request (presumably with a thinking block in the messages or response format) to the model via the OpenAI-compatible API.
  4. Observe the error response.

Screenshot and/or share link

Image

Operating System

Ubuntu24.04 in Docker

Terminal

zsh

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Feb 25, 2026
  2. github-actions commented on Feb 25, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  3. assigned and unassigned on Apr 26, 2026
  4. removed
    bugSomething isn't working
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  5. github-actions commented on Jul 4, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions