not wrap <think> tag when reasoning_content is blank #384

Closed
opened 2026-02-16 10:19:14 -05:00 by yindo · 1 comment
Owner

Originally created by @skyfire0705 on GitHub (Jun 18, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.4.3

Plugin version

0.0.16

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

  1. install OpenAI-API-compatible
  2. input configurations of Model Qwen3
  3. write 'no_think' in prompt
  4. get llm node result

Image
answer with blank think tag

✔️ Error log

No response

Originally created by @skyfire0705 on GitHub (Jun 18, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.4.3 ### Plugin version 0.0.16 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce 1. install OpenAI-API-compatible 2. input configurations of Model Qwen3 3. write 'no_think' in prompt 4. get llm node result ![Image](https://github.com/user-attachments/assets/5cd2b29c-f86f-4ad8-b522-c0c2cf7c4a97) answer with blank think tag ### ✔️ Error log _No response_
yindo added the bug label 2026-02-16 10:19:14 -05:00
yindo closed this issue 2026-02-16 10:19:14 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 18, 2025):

Hi, @skyfire0705. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported that in version 1.4.3 with plugin 0.0.16 (self-hosted Docker), the <think> tag is still included even when reasoning_content is empty.
  • This occurs after using the OpenAI-compatible Qwen3 model with 'no_think' in the prompt.
  • You requested that the <think> tag be omitted if reasoning_content is blank.
  • No error logs or additional comments have been provided since the initial report.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here.
  • If I do not hear back within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 18, 2025): Hi, @skyfire0705. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported that in version 1.4.3 with plugin 0.0.16 (self-hosted Docker), the `<think>` tag is still included even when `reasoning_content` is empty. - This occurs after using the OpenAI-compatible Qwen3 model with 'no_think' in the prompt. - You requested that the `<think>` tag be omitted if `reasoning_content` is blank. - No error logs or additional comments have been provided since the initial report. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here. - If I do not hear back within 5 days, I will automatically close this issue. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#384