UserEvent
A user turn.
Usage
UserEvent(
meta,
text,
blocks,
interrupted,
)Parameter Attributes
meta: EntryMetatext: strblocks: tuple[ContentBlock, …]interrupted: bool
Attributes
meta: EntryMeta-
The entry envelope metadata.
text: str-
The joined text of the turn.
blocks: tuple[ContentBlock, …]-
The parsed content blocks, including tool results.
interrupted: bool- Whether the turn is a user interruption.