Skip to content

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

@tanfeifan

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions