mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[GH-ISSUE #14384] issue: Clicking the stop button doesn't have any effect before text output has started #17231
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 @rotemdan on GitHub (May 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14384
Check Existing Issues
Problem Description
After text has started streaming, I verified (via server logs) the connection is terminated when the stop button is clicked.
However, in the period between the request is sent, and the server response starts (likely before headers are sent), clicking the stop button doesn't terminate the connection (no connection closing is logged on the server side).
Even if click multiple times during this period, text will still stream afterwards (see screen capture).
When stream mode is turned off, I saw similar behavior.
Using
v0.6.11on latest Brave Browser / Windows 11Desired Solution you'd like
Clicking the stop button should terminate the connection with the server, which would also signal it to abort processing the prompt.
Alternatives Considered
There aren't really any simple workarounds for this.
Additional Context
@tjbck commented on GitHub (May 27, 2025):
#13027