mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1075] [CLOSED] web: follow streaming Thinking and preserve reading position #3005
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3005
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1075
Author: @medking82
Created: 10/6/2026
Status: ❌ Closed
Base:
main← Head:codex/fix-thinking-scroll-20261006📝 Commits (10+)
f4e96d5tests: gdn_rec_head also compares the PP (variant 4) and two-column (variant 5) recurrence kernels, bitwise16bc95aprefill: STRATA_HCD_EXACT=1 - the HC down projection by a WMMA kernel with hipBLASLt solution 1176/1177 k order (StaggerU included), bitwise502fcef#606: the fused SwiGLU q8_1 quantizers keep the block's scale and sum finite too64d0136cache: preserve checkpoints when split allocation failsa0d0056prefill: fused-expert exact wins (table16 via direct selector, float4 moe_combine, LDS alias + occupancy)5f5452bserve: park_current's try covers the checkpoint split too (#752): a host OOM skips parking8b19a38Layer split: --vram-reserve-later-mib, a separate reserve for the later cardsea83d0dResident RAM mode with a layer splitd2d981fsetup: the low-RAM mode's resident variant on several GPUs (#642)cd62e5eserve: a split's stage-0 GPU profile line keeps its text (#848); later stages say which stage📊 Changes
2 files changed (+149 additions, -6 deletions)
View changed files
📝
serve/web/app.js(+10 -6)➕
tools/test_chat_scroll.cjs(+139 -0)📄 Description
Streaming reasoning can fill the capped Thinking pane while its scrollbar stays at the old position. A large answer delta can also move a chat that was following the bottom outside the 120px threshold before the existing follow check runs.
Capture scroll intent before updating either pane, follow the Thinking scrollbar independently, and preserve manual scroll-up and disclosure choices. The final chunk uses the same behavior when a stream ends before its scheduled animation frame.
Validation:
node --test tools/test_chat_scroll.cjs(9 tests; 5 fail on upstream base1735d6471dand all 9 pass with the fix),node --check serve/web/app.js, andgit diff --cached --check. The tests model the capped pane and exercise the streaming/final-chunk handlers with synthetic content; no GPU or model is needed.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.