mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
enh: support chat events like status or replace via SSE
#3239
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mpangrazzi on GitHub (Jan 10, 2025).
Feature Request
Hi!
It seems that ATM the chat events like
replace,statusandmessageare handled from a websocket, which can be driven by e.g. the event emitter in Pipe(s), but too bad not in Pipelines or any other custom backend which instead send SSE events and currently frontend expects only OpenAI-compatible message format from that source.It would be great if chat events can be streamed not only via internal WebSocket but also via SSE as well, allowing any custom backend (and also Pipelines) to create nice custom UX while building agents.
Example:
A Pipeline which:
statusevents (while some custom code is running), triggering the spinner and status messageI've written about it also (written also here), it seems that other users may be interested on that.