Queue item primitives for rendering pending assistant-ui thread operations, optimistic work, and runtime queue state.
API Reference
Text
Renders the prompt text of a queue item.This primitive renders a <span> element unless asChild is set.
QueueItemPrimitiveTextPropsasChild: boolean= falseChange the default rendered element for the one passed as a child, merging their props and behavior.
Read the Composition guide for more details.
render?: ReactElementSteer
A button that steers the current run to process this queue item immediately.This primitive renders a <button> element unless asChild is set.
QueueItemPrimitiveSteerPropsasChild: boolean= falseChange the default rendered element for the one passed as a child, merging their props and behavior.
Read the Composition guide for more details.
render?: ReactElementRemove
A button that removes this item from the queue.This primitive renders a <button> element unless asChild is set.
QueueItemPrimitiveRemovePropsasChild: boolean= falseChange the default rendered element for the one passed as a child, merging their props and behavior.
Read the Composition guide for more details.
render?: ReactElement