Release v0.51.596 — Release VC (throttle reasoning SSE to stop tab freeze, #4729)

This commit is contained in:
nesquena-hermes committed 2026-06-23 02:56:16 +00:00
1 parent 8f5ffea4a1
commit 40cdd88406
1 file changed
+2
+2
View File
@@ -3,6 +3,8 @@
## [Unreleased]
## [v0.51.596] — 2026-06-23 — Release VC (throttle reasoning SSE to stop tab freeze)
### Fixed
- **Reasoning SSE events no longer flood the frontend renderer.** During the reasoning/thinking phase of models like DeepSeek, the server emitted one SSE `reasoning` event per token — tens of thousands per turn — each triggering a full-text scan in the frontend renderer, locking the JS main thread (browser tab freeze). Reasoning SSE events are now throttled to ~10 Hz via a coalescing buffer: delta text is accumulated server-side and flushed in batches, so every reasoning token reaches the browser's live Thinking view while capping SSE events to ~10 Hz. The accumulated reasoning text remains complete for persistence. Thanks @wlknight.