Click a row to open or close it
Three states of one reasoning block
A reasoning row that stays open while the model thinks, then reports the time and folds away.
While streaming the row shimmers and the text is open. When it ends the row reads Thought for N seconds and closes after one second. Click the row to open or close it.
Options for the assembled component.
block*ThinkingContentThe thinking text. redacted shows a one-line notice instead.
streaming*booleanTrue while this block is the one being written.
_pi-ui/blocks/thinking-block.tsxRow, timer, auto close and the redacted fallback.
_pi-ui/blocks/bubble-collapse.tsxHeight animation shared with tool rows. Instant with reduced motion.
_pi-ui/markdown.tsxRenders the reasoning text with the quieter thinking tokens.
Ported from the agent-builder Pi chat components.
Click a row to open or close it
Streaming: open, with a shimmer on the row
From history: closed until clicked
Redacted by the provider
Reasoning hidden by the provider
Three states of one reasoning block