Issues with streaming output, consumption tracking, and logging. #13852

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

Originally created by @Moiyu1998 on GitHub (May 13, 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.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

None of the models are able to provide streaming output. In addition, compared to version 0.15.5, the consumption tracking feature is no longer available, and clicking the log icon does not respond either.

https://github.com/user-attachments/assets/18e60142-75b0-4a77-9708-528a997f39b7

https://github.com/user-attachments/assets/dd279b76-85c6-4622-8351-97bffedd5e3c

The above are some screen recordings related to version 1.3.0. Streaming output is not available, consumption tracking is missing, and clicking the log icon does not produce any response.

https://github.com/user-attachments/assets/649b8268-e35a-4c15-98a9-a305bf156302

This is a screen recording from version 0.15.5. As you can see, streaming output is available, consumption tracking is present, and the log icon is also functional.

These issues have existed for several versions since 1.0.0 and have a significant impact on the user experience. Could you please look into and resolve these problems? Thank you very much.

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @Moiyu1998 on GitHub (May 13, 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.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce None of the models are able to provide streaming output. In addition, compared to version 0.15.5, the consumption tracking feature is no longer available, and clicking the log icon does not respond either. https://github.com/user-attachments/assets/18e60142-75b0-4a77-9708-528a997f39b7 https://github.com/user-attachments/assets/dd279b76-85c6-4622-8351-97bffedd5e3c The above are some screen recordings related to version 1.3.0. Streaming output is not available, consumption tracking is missing, and clicking the log icon does not produce any response. https://github.com/user-attachments/assets/649b8268-e35a-4c15-98a9-a305bf156302 This is a screen recording from version 0.15.5. As you can see, streaming output is available, consumption tracking is present, and the log icon is also functional. These issues have existed for several versions since 1.0.0 and have a significant impact on the user experience. Could you please look into and resolve these problems? Thank you very much. ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo closed this issue 2026-02-21 19:14:11 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (May 14, 2025):

There is a known issue with streaming output in Dify, specifically with workflows that include conditional branches, which are unable to stream output. This is confirmed to be expected behavior by the project maintainers [1]. However, there is no specific information available about issues related to consumption tracking and logging in the documentation.

For streaming output in version 1.3.0, the expected behavior is that when the stream parameter is set to True, the output should be returned in a streaming manner as a Generator[[LLMResultChunk](#LLMResultChunk)]. If streaming is not enabled, the output should be returned as a [LLMResult](#LLMResult). The default setting for the stream parameter is True, indicating that streaming is the standard behavior unless explicitly disabled [2][3][4].

Unfortunately, I couldn't find specific information on changes to consumption tracking and logging features between versions 0.15.5 and 1.3.0. You might want to check the repository's changelog or release notes for detailed updates on these features.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (May 14, 2025): <!-- Answer --> There is a known issue with streaming output in Dify, specifically with workflows that include conditional branches, which are unable to stream output. This is confirmed to be expected behavior by the project maintainers <sup>[[1]](https://github.com/langgenius/dify/issues/14010)</sup>. However, there is no specific information available about issues related to consumption tracking and logging in the documentation. For streaming output in version 1.3.0, the expected behavior is that when the `stream` parameter is set to `True`, the output should be returned in a streaming manner as a `Generator[[LLMResultChunk](#LLMResultChunk)]`. If streaming is not enabled, the output should be returned as a `[LLMResult](#LLMResult)`. The default setting for the `stream` parameter is `True`, indicating that streaming is the standard behavior unless explicitly disabled <sup>[[2]](https://github.com/crazywoola/dify-docs-mintlify/blob/main/en/guides/model-configuration/interfaces.mdx)</sup><sup>[[3]](https://github.com/crazywoola/dify-docs-mintlify/blob/main/plugin_dev_en/0412-model-schema.en.mdx)</sup><sup>[[4]](https://github.com/langgenius/dify/blob/main/api/core/model_runtime/model_providers/gitee_ai/llm/codegeex4-all-9b.yaml)</sup>. Unfortunately, I couldn't find specific information on changes to consumption tracking and logging features between versions 0.15.5 and 1.3.0. You might want to check the repository's changelog or release notes for detailed updates on these features. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/b87fca50-871a-4832-bacf-f34d1889afab?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/b87fca50-871a-4832-bacf-f34d1889afab?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/b87fca50-871a-4832-bacf-f34d1889afab?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/b87fca50-871a-4832-bacf-f34d1889afab?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/b87fca50-871a-4832-bacf-f34d1889afab?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/b87fca50-871a-4832-bacf-f34d1889afab?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/b87fca50-871a-4832-bacf-f34d1889afab?feedback_type=other)</sup>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#13852