mirror of
https://github.com/cline/cline.git
synced 2026-09-21 05:10:09 +08:00
* fix: throttle diff view updates during streaming Skip redundant rapid updates to reduce performance issues in large streams (e.g., notebooks) and reset throttle state on cleanup. * chore: add changeset for diff throttling fix * test: add unit tests for diff view update throttling Add comprehensive tests for the throttling behavior introduced in the streaming diff updates fix. Tests cover empty content, unchanged content, time-based throttling, final update bypass, and state reset.
280 B
280 B
claude-dev
| claude-dev |
|---|
| patch |
fix: throttle diff view updates during streaming
Add throttling to diff view updates during content streaming to reduce UI flickering and improve performance. Updates are now batched at reasonable intervals instead of firing on every token received.