When the Agent application uses the ollama plugin to call a locally deployed model, it is unable to answer questions in a streaming manner. #382

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

Originally created by @overrated-8 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 search for existing issues, 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.3.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

Image

The first image shows the result of my conversation using the Agent application. It does not display the thinking process in real-time and directly returns the final answer. In contrast, when I use the Chat application (second image), both the thinking process and the response are shown in a streaming manner.

✔️ Expected Behavior

When using the Agent application to invoke the model for conversations, it should still be able to stream output in the same way as the Chat application.

Actual Behavior

The Agent application does not support streaming output during conversations.(especially noticeable when using Ollama as the model provider.

Originally created by @overrated-8 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 [search for existing issues](https://github.com/langgenius/dify/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.3.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/b5fc92af-c4d2-4dd6-a79c-6a368da98663) ![Image](https://github.com/user-attachments/assets/de9d46b7-ef89-480b-89bb-611b68f6a3b5) The first image shows the result of my conversation using the Agent application. It does not display the thinking process in real-time and directly returns the final answer. In contrast, when I use the Chat application (second image), both the thinking process and the response are shown in a streaming manner. ### ✔️ Expected Behavior When using the Agent application to invoke the model for conversations, it should still be able to stream output in the same way as the Chat application. ### ❌ Actual Behavior The Agent application does not support streaming output during conversations.(especially noticeable when using Ollama as the model provider.
yindo closed this issue 2026-02-16 10:19:13 -05:00
Author
Owner

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

Hi, @overrated-8. 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 the Agent app with the Ollama plugin does not stream responses in real-time when using a local model.
  • The Chat app supports streaming output, showing the model's thought process live, which you expect the Agent app to also support.
  • No further comments or updates have been provided on this issue so far.

What's Next:

  • 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, this issue will be automatically closed.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 18, 2025): Hi, @overrated-8. 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 the Agent app with the Ollama plugin does not stream responses in real-time when using a local model. - The Chat app supports streaming output, showing the model's thought process live, which you expect the Agent app to also support. - No further comments or updates have been provided on this issue so far. **What's Next:** - 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, this issue will be automatically closed. 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#382