open-webui/backend
Sihyeon Jang 3da22af859 fix(utils/middleware): flush pending chat deltas on stream termination
Guarantees the last partial delta chunk is emitted when the SSE stream closes (EOF, break, or `[DONE]` sentinel).

* Buffer `last_delta_data` and track `delta_count`
* Flush automatically once `delta_count >= chunk_size`
* Perform a final flush after the iterator ends

Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-08-16 13:03:57 +09:00
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
open_webui fix(utils/middleware): flush pending chat deltas on stream termination 2025-08-16 13:03:57 +09:00
.dockerignore fix: litellm config issue 2024-02-24 22:35:11 -08:00
.gitignore refac 2024-09-06 04:59:20 +02:00
dev.sh feat: S3 vector support tested 2025-07-22 21:36:35 -06:00
requirements.txt refac: sqlcipher3-wheels as optional 2025-08-09 23:56:17 +04:00
start.sh feat: add support for WEBUI_SECRET_KEY_FILE 2025-06-07 23:14:21 +08:00
start_windows.bat fix: windows start script 2025-06-27 15:46:38 +04:00