Reasoning content is not displayed corretly when using OpenAI-API-Compatible API in agent #44

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

Originally created by @MSGuda on GitHub (Mar 6, 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.0.0

Plugin version

OpenAI-API-Compatible 0.0.7

Cloud or Self Hosted

Cloud

Steps to reproduce

When function call is not supported

Image

Reasoning content was truncated before it was fully output.

Image

However, when function call and stream function call is supported,everything is displayed normally

Image

Whether function call is supported or not, this issue didnt occur in chatbot mode.

✔️ Error log

No response

Originally created by @MSGuda on GitHub (Mar 6, 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.0.0 ### Plugin version OpenAI-API-Compatible 0.0.7 ### Cloud or Self Hosted Cloud ### Steps to reproduce When function call is not supported ![Image](https://github.com/user-attachments/assets/03d7aa1a-13d4-4f19-8ad1-42206ec42dfe) Reasoning content was truncated before it was fully output. ![Image](https://github.com/user-attachments/assets/e7e62d72-b406-4021-a953-251f4d451552) However, when function call and stream function call is supported,everything is displayed normally ![Image](https://github.com/user-attachments/assets/72683d15-3685-41f9-bbf6-f3c7bad9a7bf) Whether function call is supported or not, this issue didnt occur in chatbot mode. ### ✔️ Error log _No response_
yindo added the bug label 2026-02-16 10:17:51 -05:00
yindo closed this issue 2026-02-16 10:17:51 -05:00
Author
Owner

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

Hi, @MSGuda. 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 Dify cloud v1.0.0 with OpenAI-API-Compatible plugin v0.0.7, reasoning content is truncated in agent mode when function call support is unavailable.
  • The content displays correctly if function call or streaming is supported.
  • This truncation does not happen in chatbot mode regardless of function call support.
  • No further updates or comments have been provided since your initial report.

Next Steps:

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

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 16, 2025): Hi, @MSGuda. 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 Dify cloud v1.0.0 with OpenAI-API-Compatible plugin v0.0.7, reasoning content is truncated in agent mode when function call support is unavailable. - The content displays correctly if function call or streaming is supported. - This truncation does not happen in chatbot mode regardless of function call support. - No further updates or comments have been provided since your initial report. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here. - If I don’t 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#44