Skip to content

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

Closed as duplicate

Description

@yayidg22

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

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Dec 10, 2025
  2. github-actions commented on Dec 10, 2025

    @github-actions
    Contributor

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions