One assistant turn built from the message parts
An assistant shares its plan, uses tools and streams a Markdown answer with sources and actions.
The turn plays on its own inside a following scroll area. Turn on Fail to see the error with Retry. Hover the footer to copy, rate or regenerate.
Options for the assembled component.
role*"user""assistant""system"Layout of the row.
name / avatar / timestring / ReactNode / stringOptional header of an assistant message.
attachmentsReactNodeRendered above a user bubble.
footerReactNodeUsually MessageActions, sources or both.
_message/message.tsxShell for user, assistant and system rows, with avatar, name, time, attachments and footer slots.
_message/message.tsxFile chips above a user message.
_message/message.tsxInline failure with an optional Retry.
_message/message.tsxStatus before the first token.
_message/plan.tsxShows the current step and completed count as the turn progresses.
_message/disclosure-row.tsxThe shared row behind thinking, tools, search and swarm.
Generalized from the agent-builder message renderer. No Pi types, plain props in and out.
One assistant turn built from the message parts