Skip to content

Drop Thinking label after reasoning ends - #289

Merged
oxwen11 merged 2 commits into
mainfrom
port/pie-73-thinking-label
Aug 29, 2026
Merged

oxwen11 merged 2 commits into
mainfrom
port/pie-73-thinking-label

Conversation

@oxwen11

@oxwen11 oxwen11 commented Aug 29, 2026

Copy link
Copy Markdown
Member

Summary

Port of pie #73. Finished reasoning stayed on Thinking... because the trigger treated a missing duration as still thinking, and invented elapsed time from Date.now().

Settled blocks now say Thought. Thinking... only while the part is streaming. Duration is shown only when a caller supplies a real value.

vibest previously dropped reasoning parts in the transcript, so the label fix would have been invisible. This rewrite also renders those blocks (empty settled ones stay hidden).

Test plan

  • turbo run test --filter=@vibest/app --force -- reasoning-part
  • Stream a reasoning block: trigger says Thinking..., then Thought when it settles
  • Reload a session with settled reasoning: trigger says Thought, not Thinking...

Made with Cursor

Settled blocks said Thinking... because the trigger invented a duration of 0. Label them Thought, and stop hiding reasoning parts inside tool batches.

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

github-actions Bot commented Aug 29, 2026 •

Copy link
Copy Markdown

React Doctor found 1 issue in 1 file · 1 warning · score 92 / 100 (Great) · full project

1 warning

src/features/chat/runtime/client-prompt-queue.ts

  • ⚠️ L0 unused-file

Reviewed by React Doctor for commit ab88a04. See inline comments for fixes.

pie #73 only changed packages/ui reasoning — wiring hidden reasoning parts was extra scope.

Co-authored-by: Cursor <cursoragent@cursor.com>
@oxwen11
oxwen11 merged commit ea44973 into main Aug 29, 2026
2 of 3 checks passed
@oxwen11
oxwen11 deleted the port/pie-73-thinking-label branch August 29, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant