GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bad Request: Invalid signature in thinking block when calling jiekou/claude-opus-4.6 · Issue #15074 · anomalyco/opencode

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

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Bad Request: Invalid signature in thinking block when calling jiekou/claude-opus-4.6#15074
Copy link
Assignees
kitlangton

Description

@Hayden727
Hayden727
opened on Feb 25, 2026
Issue body actions

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. Hayden727
    added
    bugSomething isn't working
    on Feb 25, 2026
  2. github-actions
    assigned
    thdxr
    on Feb 25, 2026
  3. github-actions
    added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Feb 25, 2026
  4. github-actions commented on Feb 25, 2026

    @github-actions
    github-actionsBot
    on Feb 25, 2026 – with GitHub Actions
    Contributor
    More actions

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

    • Error: Invalid signature in thinking block #6418: Same error "Invalid signature in thinking block" (closed)
    • Invalid signature in thinking block when switching Claude models (Copilot provider) #11546: Same error "Invalid signature in thinking block" when switching Claude models (closed)
    • claude-opus-4-6系列模型调用失败 #14920: Open issue about claude-opus-4.6 series failing with a related signature/thinking block error via OpenAI-compatible API
  5. thdxr
    assigned
    kitlangton
    and unassigned
    thdxr
    on Apr 26, 2026
  6. thdxr
    removed
    bugSomething isn't working
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  7. github-actions commented on Jul 4, 2026

    @github-actions
    github-actionsBot
    on Jul 4, 2026 – with GitHub Actions
    Contributor
    More actions

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

  8. github-actions
    closed this as not plannedon Jul 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @kitlangton
    kitlangton

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.