AssistantEvent
An assistant turn.
Usage
AssistantEvent(
meta,
model,
text,
blocks,
stop_reason,
)Parameter Attributes
meta: EntryMetamodel: strtext: strblocks: tuple[ContentBlock, …]stop_reason: str | None
Attributes
meta: EntryMeta-
The entry envelope metadata.
model: str-
The model that produced the turn, e.g.
<synthetic>. text: str-
The joined text of the turn.
blocks: tuple[ContentBlock, …]-
The parsed content blocks, including thinking and tool uses.
stop_reason: str | None- The model’s stop reason, when present.