mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-16 23:43:03 +00:00
- Stopped deleting resumeSeqByMessageId entries on done / cancel / error. The map now only clears on chat/navigation transitions (loadChat, initNewChat, component unmount). Fixes a continuation- reuses-message_id duplication hole: if a message completes and its id is immediately reused for a continued/extended response, the log's 30s grace window can still serve old envelopes; resetting the client's lastSeq to 0 on done made those old envelopes replay. Keeping the seq alive until the message is truly retired avoids re-applying them. - resume_stream now always replies when the payload has a message_id, even on auth failure (empty envelopes). Silent early-return branches could previously leave the client fence raised for the full 10s fallback timeout during reconnect/auth churn. Silent drops only remain for cases where the client couldn't have raised a fence. - Terminal TTL shortening now also triggers on chat:tasks:cancel and error-finalized completions, not just done:True. Cancelled/errored streams no longer leak log+seq keys for the full 1h TTL. |
||
|---|---|---|
| .. | ||
| data | ||
| open_webui | ||
| .dockerignore | ||
| .gitignore | ||
| dev.sh | ||
| requirements-min.txt | ||
| requirements.txt | ||
| start.sh | ||
| start_windows.bat | ||