Files
open-webui/backend/open_webui/utils
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
..
2025-08-02 22:15:22 +03:00
2025-08-10 02:10:00 +02:00
2025-08-09 21:38:31 +04:00
2025-08-06 14:27:58 +04:00
2025-08-09 00:31:28 +04:00
2025-08-15 00:07:02 +04:00
2025-08-09 23:43:27 +04:00
2025-08-04 14:15:08 +04:00
2025-07-18 06:11:53 +08:00
2025-08-15 00:07:02 +04:00