Buckets:
| // Rows at the end of the list that mount eagerly, so the first painted | |
| // frame of a conversation already shows real content at the bottom. | |
| export const LANDING_EAGER_ROWS = 8; | |
| // Nested scroll areas that follow their own content while it streams. The page | |
| // itself is driven by `createStickToBottom()`, which needs no tuning knobs. | |
| // Reasoning block: stickier because reasoning fires many small | |
| // incremental DOM writes that easily drift a few pixels off bottom. | |
| export const REASONING_SCROLL_AT_BOTTOM_THRESHOLD_PX = 64; | |
| // Syntax-highlighted code: stickier than the chat main view because line | |
| // wrap reflows while the highlight.js pass settles can drift a few pixels | |
| // off bottom. | |
| export const SYNTAX_CODE_SCROLL_AT_BOTTOM_THRESHOLD_PX = 32; | |
| // Streaming tool output (e.g. exec_shell_command): shell commands produce | |
| // lots of small line writes and the exit-code line appended at the tail | |
| // past the last user-visible frame is what triggers DOM drift, so use a | |
| // threshold generous enough to capture that tail flush. | |
| export const TOOL_RUNTIME_SCROLL_AT_BOTTOM_THRESHOLD_PX = 64; | |
Xet Storage Details
- Size:
- 1.09 kB
- Xet hash:
- ea4fccd3368fa9aae8f723e44da617e5710f5a54d6856a9d4d7399eaff2b4ddb
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.