dify - 💡(How to fix) Fix The issue of not displaying Qwen3.5's reasoning content has been addressed, with VLLM officially changing "reasoning_content" to "reasoning".

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.13.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

When Qwen3.5 is launched using VLLM, the output reasoning content is stored in the "reasoning" field. VLLM has officially changed the field name from "reasoning_content" to "reasoning." It is recommended that Dify update this rule promptly. When Dify connects to a locally deployed Qwen3.5, the reasoning content cannot be displayed, but when connecting to the official API, the reasoning content displays correctly. After comparing the two, it was found that the official Qwen API still uses the old "reasoning_content" field, while the locally deployed version uses the "reasoning" field. Relevant information about VLLM has been reviewed.

https://github.com/vllm-project/vllm/pull/27752

I have tried all the reasoning formats including none, auto, deepseek-legacy, and deepseek, but none of them can display the thinking content.

✔️ Expected Behavior

Dify officially supports including reasoning content in the reasoning field.

❌ Actual Behavior

No response

extent analysis

TL;DR

Update Dify to use the new "reasoning" field instead of the deprecated "reasoning_content" field to display reasoning content from Qwen3.5.

Guidance

  • Review the VLLM pull request https://github.com/vllm-project/vllm/pull/27752 to understand the field name change from "reasoning_content" to "reasoning".
  • Verify that the locally deployed Qwen3.5 API is indeed using the new "reasoning" field by checking its API responses.
  • Update Dify's code to use the new "reasoning" field when connecting to Qwen3.5, ensuring compatibility with both the official API and self-hosted instances.
  • Test Dify with different reasoning formats (none, auto, deepseek-legacy, and deepseek) to ensure the reasoning content is displayed correctly after the update.

Example

No code snippet is provided as the issue does not contain specific code references.

Notes

The issue seems to be caused by a version mismatch between the official Qwen API and the self-hosted Qwen3.5 instance, with Dify not being updated to handle the field name change.

Recommendation

Apply workaround: Update Dify to use the new "reasoning" field to ensure compatibility with Qwen3.5 and display reasoning content correctly. This is necessary because the official Qwen API still uses the old field name, while the self-hosted version has been updated.

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