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
Error from provider (DeepSeek): The reasoning_content in the thinking mode must be passed back to the API. #24334
{ "name": "APIError", "data": { "message": "Error from provider (DeepSeek): The reasoning_contentin the thinking mode must be passed back to the API.", "statusCode": 400, "isRetryable": false, "responseHeaders": { "cf-ray": "9f1e8cb56dd8a8fe-CMH", "connection": "keep-alive", "content-length": "207", "content-type": "application/json", "date": "Sat, 25 Apr 2026 15:58:32 GMT", "server": "cloudflare" }, "responseBody": "{\"error\":{\"message\":\"Error from provider (DeepSeek): Thereasoning_content in the thinking mode must be passed back to the API.\",\"type\":\"invalid_request_error\",\"param\":null,\"code\":\"invalid_request_error\"}}", "metadata": { "url": "https://opencode.ai/zen/go/v1/chat/completions" } } }
Thanks for updating the issue! It now includes the error details, environment info, and steps to reproduce. Everything looks good — the compliance flag has been removed.
I have the same issue on windows opencode cli, with both deepseek v4 flash and pro.
RequestExecutor.execute: Provider request failed with HTTP 400: {"error":{"message":"Error from provider (DeepSeek): The reasoning_content 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 25, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
_No response_)Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
If you believe this was flagged incorrectly, please let a maintainer know.
github-actions commentedon Apr 25, 2026
Thanks for updating the issue! It now includes the error details, environment info, and steps to reproduce. Everything looks good — the compliance flag has been removed.
igzard commentedon Apr 25, 2026
same here
mstrYoda commentedon Apr 26, 2026
I faced with the same issue while using OpenCode webui:
The
reasoning_contentin the thinking mode must be passed back to the API.rekram1-node commentedon Apr 26, 2026
If you are using KiloCode this is a bug in Kilo.
bkaragozpg commentedon May 24, 2026
I have the same issue on windows opencode cli, with both deepseek v4 flash and pro.
RequestExecutor.execute: Provider request failed with HTTP 400: {"error":{"message":"Error from provider (DeepSeek): The
reasoning_contentin the thinking mode must be passed back to the API.","type":"invalid_request_error","param":null,"code":"invalid_request_error"}}aria-amini commentedon May 25, 2026
Getting same error for deepseek v4. Version 1.15.6 and below still work
md-rifatkhan commentedon Aug 5, 2026
any solution?
sawa-ko commentedon Aug 7, 2026
Same here.
rekram1-node commentedon Aug 7, 2026
need more info