Files
open-webui-custom/backend/open_webui
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-10 00:02:58 +04:00
2025-08-09 23:57:35 +04:00
2025-08-10 02:10:18 +04:00
2025-08-15 00:07:02 +04:00
2025-08-04 14:15:08 +04:00
2025-08-10 00:02:58 +04:00
2025-07-16 15:23:18 +09:00
2025-04-15 09:55:35 +02:00
2025-06-03 18:07:29 +04:00
2025-08-15 14:15:27 +04:00
2025-08-14 04:50:33 +04:00