You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The bug requiring deepseek requests to include the thinking content still exists in versions 1.14.26 and 27. #24558
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
Open the opencode on a project and type "Please check my git and UV environments in the current directory".
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"}}
Activity
github-actions commentedon Apr 27, 2026
This issue might be a duplicate of existing issues. Please check:
reasoning_contentin the thinking mode must be passed back to the API #24497: DeepSeek v4 provider error: Thereasoning_contentin the thinking mode must be passed back to the APIreasoning_contentin the thinking mode must be passed back to the API. #24334: Error from provider (DeepSeek): Thereasoning_contentin the thinking mode must be passed back to the API.reasoning_contentin the thinking mode must be passed back to the API. #24083: Thereasoning_contentin the thinking mode must be passed back to the API.These issues describe the same or very similar error. Please check if your issue is already tracked there before continuing.
mucaoshen commentedon Apr 27, 2026
the bug still exists on 1.14.24 and 1.14.25 i tried
mucaoshen commentedon Apr 27, 2026
fixed bug through command
curl -fsSL https://opencode.ai/install | bashinstalled