Skip to content

The bug requiring deepseek requests to include the thinking content still exists in versions 1.14.26 and 27. #24558

Closed

Description

@mucaoshen

Description

Hello, first of all, thank you to the open-source developers and contributors for their hard work on OpenCode. I tried reinstalling versions 1.14.26 and 2.7 on my Mac, but when executing the command, I encountered the following error:

Bad Request: {"error":{"message":"The content[].thinking in the thinking mode must be passed back to the API.","type":"invalid_request_error","param":null,"code":"invalid_request_error"}}

I hope OpenCode will continue to improve.

Plugins

No

OpenCode version

1.14.26&1.14.27

Steps to reproduce

  1. Open the opencode on a project and type "Please check my git and UV environments in the current directory".
  2. And then wait a moment for the request's error:
    Bad Request: {"error":{"message":"The content[].thinking in the thinking mode must be passed back to the API.","type":"invalid_request_error","param":null,"code":"invalid_request_error"}}

Screenshot and/or share link

Image

Operating System

macOS Sequoia 15.2

Terminal

VScode's terminal

Activity

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

    @github-actions
    Contributor

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

    These issues describe the same or very similar error. Please check if your issue is already tracked there before continuing.

  3. mucaoshen commented on Apr 27, 2026

    @mucaoshen
    Author

    the bug still exists on 1.14.24 and 1.14.25 i tried

  4. mucaoshen commented on Apr 27, 2026

    @mucaoshen
    Author

    fixed bug through command curl -fsSL https://opencode.ai/install | bash installed

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 workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions