You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 14e9c64
Browse filesBrowse the repository at this point in the historyBrowse files
fix(chat): harden thinking traces against review findings
Review of the first commit found real defects. Fixed here:
- A reasoning block could reopen after being completed. Segment indexes now
advance monotonically for reasoning, whose base key alternates when one
provider item streams both a summary and a raw trace.
- A reasoning delta with no turn id opened a block nothing could ever close.
Every close path is turn-keyed, so those deltas are skipped.
- A provider reporting a whole block through `item.completed` detail, with no
deltas, produced nothing: the snapshot had no open segment to land in.
- Reasoning no longer streams token by token even in token mode. The block is
collapsed by default, so a command, an event-store write and a fan-out per
token bought nothing on text longer than the answer.
- The web "Thinking" label never animated: its shimmer needs an ancestor
carrying the visible-animation state.
- Mobile stacked a second "Thinking" row under the live one, and its settle
effect never re-ran for a reasoning toggle.
- Placeholder suppression is scoped to the live turn, so a block stranded by a
killed server cannot silence the activity row for every later turn.
- Both clients anchored scroll restoration to a key that matched no row.
- Interactive markdown moved out of the disclosure's button, so Enter on a
link inside a trace no longer collapses the row.
- Web now formats the duration like every other elapsed label in the app.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
0 commit comments