[PR #1551] feat: fetch stream compatibility enhance #23103

Closed
opened 2026-02-21 20:20:27 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/1551

State: closed
Merged: Yes


The purpose of this PR is to fix an issue that fetch stream feature would not work because of compatibility.

Steps to reproduce

  • Use the QQ iOS app
  • browser any dify demo app
  • try to send any word and we won't get any reply

The implementation approach is:

Detect browser version, and do not use fetch streams for older browsers

  • For older browsers, use traditional request mode for chatting
  • For newer browsers, continue using fetch streams

Reference

https://developer.chrome.com/articles/fetch-streaming-requests/

**Original Pull Request:** https://github.com/langgenius/dify/pull/1551 **State:** closed **Merged:** Yes --- The purpose of this PR is to fix an issue that fetch stream feature would not work because of compatibility. ## Steps to reproduce - Use the QQ iOS app - browser any dify demo app - try to send any word and we won't get any reply ## The implementation approach is: Detect browser version, and do not use fetch streams for older browsers - For older browsers, use traditional request mode for chatting - For newer browsers, continue using fetch streams ## Reference [https://developer.chrome.com/articles/fetch-streaming-requests/](https://developer.chrome.com/articles/fetch-streaming-requests/)
yindo added the pull-request label 2026-02-21 20:20:27 -05:00
yindo closed this issue 2026-02-21 20:20:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#23103