DeepSeek API requires reasoning_content but opencode does not preserve or forward it #3446

Closed
opened 2026-02-16 17:40:06 -05:00 by yindo · 1 comment
Owner

Originally created by @yayidg22 on GitHub (Dec 10, 2025).

Description

I've been using Deepseek Reasoner for a while to make improvements to an Astro project. When I got to about 50% of the context, I got the following error.

Missing reasoning_content field in the assistant message at message index 241. For more information, please refer to https://api-docs.deepseek.com/guides/thinking_mode#tool-calls

OpenCode version

OpenCode 1.0.141

Steps to reproduce

1- Use deepseek reasoner
2- use more than 50% of context

Screenshot and/or share link

No response

Operating System

Arch Linux

Terminal

Kitty

Originally created by @yayidg22 on GitHub (Dec 10, 2025). ### Description I've been using Deepseek Reasoner for a while to make improvements to an Astro project. When I got to about 50% of the context, I got the following error. `Missing `reasoning_content` field in the assistant message at message index 241. For more information, please refer to https://api-docs.deepseek.com/guides/thinking_mode#tool-calls` ### OpenCode version OpenCode 1.0.141 ### Steps to reproduce 1- Use deepseek reasoner 2- use more than 50% of context ### Screenshot and/or share link _No response_ ### Operating System Arch Linux ### Terminal Kitty
yindo added the opentuibug labels 2026-02-16 17:40:06 -05:00
yindo closed this issue 2026-02-16 17:40:06 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 10, 2025):

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

  • #5027: Deepseek missing "reasoning_content" field ; deepseek_reasoner model erroring out
  • #4947: DeepSeek 3.2: Missing reasoning_content

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Dec 10, 2025): This issue might be a duplicate of existing issues. Please check: - #5027: Deepseek missing "reasoning_content" field ; deepseek_reasoner model erroring out - #4947: DeepSeek 3.2: Missing `reasoning_content` Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3446