Hello team, I have a delay of 2 seconds when sending a streaming request through an AI application compared to a streaming return request from a cloud API. May I ask what the problem is? #1467

Closed
opened 2026-02-21 17:34:02 -05:00 by yindo · 0 comments
Owner

Originally created by @wgq910668 on GitHub (Mar 20, 2024).

Self Checks

  • 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).
  • Pleas do not modify this template :) and fill in all the required fields.

Provide a description of the help you need

Hi, Tearm
Deploy Dify locally and configure the Qianwen API for the model. For applications built using Dify, there is a 2-second wait delay when requesting API requests. However, there is no delay when requesting Qianwen's native API interface. May I ask what the reason is? How to solve this problem?
I can see from the log that when sending a request, an event ping time is sent twice before the constructed AI application interface starts streaming back.

Originally created by @wgq910668 on GitHub (Mar 20, 2024). ### Self Checks - [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] Pleas do not modify this template :) and fill in all the required fields. ### Provide a description of the help you need Hi, Tearm Deploy Dify locally and configure the Qianwen API for the model. For applications built using Dify, there is a 2-second wait delay when requesting API requests. However, there is no delay when requesting Qianwen's native API interface. May I ask what the reason is? How to solve this problem? I can see from the log that when sending a request, an event ping time is sent twice before the constructed AI application interface starts streaming back.
yindo closed this issue 2026-02-21 17:34:02 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#1467