Skip to content

DeepSeek V4-Pro sometimes returns no visible response after API reasoning completes #28955

Closed as not planned

Description

@tanfeifan

Description

Bug Description

When using DeepSeek V4-Pro in OpenCode, the model occasionally enters the reasoning/thinking phase and the API request appears to complete successfully, but no final response is displayed in the chat output.

Expected Behavior

After the reasoning process finishes, the model response should be returned and rendered normally in the conversation.

Actual Behavior

The API call seems to execute normally and the model spends tokens on reasoning, but the final assistant message is missing or empty.

Possible Symptoms

  • The request shows as completed
  • Tokens are consumed
  • Thinking/reasoning logs may appear
  • No assistant reply is rendered
  • Sometimes the issue occurs randomly and cannot be reproduced consistently

Environment

  • OpenCode
  • Model: DeepSeek V4-Pro

Additional Notes

This issue appears intermittently and may be related to streaming, response parsing, or handling of reasoning outputs.

Plugins

zero

OpenCode version

All software versions that have been used have this problem, including the latest one.

Steps to reproduce

No response

Screenshot and/or share link

Image There is content between the two sentences I sent.

Operating System

win11

Terminal

No response

Activity

  1. github-actions commented on May 23, 2026

    @github-actions
    Contributor

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

  2. tanfeifan commented on May 23, 2026

    @tanfeifan
    Author
    Image If "Show Reasoning Content" is enabled, it can be seen that the API actually responded correctly.
  3. ListenLove commented on May 23, 2026

    @ListenLove

    This issue affected my work severely, I've checked out to deepseek official API temporarily.

  4. dit-darius commented on Jun 15, 2026

    @dit-darius

    can confirm -- I'm trying to work around this shortcoming using various methods, haven't found any reliable enough yet. It just "gets in a mood" and returns only whitespaces in "content" - a few, a couple of dozens - it varies.

  5. github-actions commented on Aug 15, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions