[PR #4949] fix: strip reasoning content for deepseek-reasoner #11183

Closed
opened 2026-02-16 18:15:58 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/4949

State: closed
Merged: No


Summary

  • Strips reasoning message parts from the history before sending requests to DeepSeek Reasoner models.
  • Resolves API errors caused by including reasoning_content in input messages, complying with DeepSeek's API requirements.
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/4949 **State:** closed **Merged:** No --- ## Summary - Strips `reasoning` message parts from the history before sending requests to DeepSeek Reasoner models. - Resolves API errors caused by including `reasoning_content` in input messages, complying with DeepSeek's API requirements.
yindo added the pull-request label 2026-02-16 18:15:58 -05:00
yindo closed this issue 2026-02-16 18:15:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11183