FollowRunOptions
Defined in: react/src/agents.ts:1782
Properties
Section titled “Properties”conversation
Section titled “conversation”conversation: (reply) => | readonly DisplayMessage[]| Promise<readonly DisplayMessage[]>;Defined in: react/src/agents.ts:1797
The whole conversation for a snapshot: the host’s own messages with reply, this run’s
message as the projector draws it, in its place. A snapshot replaces the whole list.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
reply |
DisplayMessage |
Returns
Section titled “Returns”| readonly DisplayMessage[]
| Promise<readonly DisplayMessage[]>
cursor?
Section titled “cursor?”optional cursor?: Cursor;Defined in: react/src/agents.ts:1791
The viewer’s cursor. Without one, or with one from another run, the viewer gets the run from its start, opening with a snapshot of the conversation.
projector
Section titled “projector”projector: AgentProjectorOptions;Defined in: react/src/agents.ts:1785
A fresh projector is made from these for each viewer, because only one that saw the log from the run’s first record draws the rows after the viewer’s cursor as the live stream did.
read: () => Promise<TreeNode>;Defined in: react/src/agents.ts:1794
The saved run, read after a gap in the log and when the last row ends. It holds private
journals: check that this viewer may see the run before calling followRun.
Returns
Section titled “Returns”Promise<TreeNode>
segments
Section titled “segments”segments: readonly RunSegment[];Defined in: react/src/agents.ts:1788
The run’s rows in order: the first, then one for each approval that continued it. Only the last can still grow.