dify - 💡(How to fix) Fix The "text" returned by the Deepseek and Qwen models contains the content of "reasoning_content", but "reasoning_content" is empty.

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.14.2

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

This bug was reported by someone two months ago, but it seems that it has not been addressed yet. https://github.com/langgenius/dify/issues/32679

Using the deepseek-v4-pro model, if deep thinking is triggered, the content of 【reasoning_content】 will be directly included in the return value 【text】. However, the 【reasoning_content】 in the return value will be empty.

<img width="1020" height="525" alt="Image" src="https://github.com/user-attachments/assets/a5662017-eb6a-4b09-8ad1-aec3f7a6e7cb" />

The Qwen model will do the same.

This uncertainty requires the addition of a processing node after each LLM, which is quite troublesome.

✔️ Expected Behavior

The deep thinking content should be returned to 【reasoning_content】

❌ Actual Behavior

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

dify - 💡(How to fix) Fix The "text" returned by the Deepseek and Qwen models contains the content of "reasoning_content", but "reasoning_content" is empty.