Skip to content

AgentRunBase

AgentRunBase = object

Defined in: packages/client/src/lib/orchestrator/agent-run-state.ts:85

Fields every Agent Run state carries, whatever its status.

The agent loop is experimental in 0.3 and may change in any minor release.

readonly changeErrors: readonly AgentRunChangeError[]

Defined in: packages/client/src/lib/orchestrator/agent-run-state.ts:103

Failed UI changes of the run in arrival order, kept apart from changes because their change may never have been applied.


readonly changes: readonly AgentRunChange[]

Defined in: packages/client/src/lib/orchestrator/agent-run-state.ts:98

Applied UI changes in arrival order.


readonly inputId: MessageId

Defined in: packages/client/src/lib/orchestrator/agent-run-state.ts:87

The input that started the run, as returned by sendMessage.


readonly placeholder: string | null

Defined in: packages/client/src/lib/orchestrator/agent-run-state.ts:89

The latest placeholder text to show while the agent works.


readonly reply: string

Defined in: packages/client/src/lib/orchestrator/agent-run-state.ts:94

Streamed text of the current model turn, replaced by the final reply when the run finishes with one.


readonly turnId: string | null

Defined in: packages/client/src/lib/orchestrator/agent-run-state.ts:96

The model turn the streamed reply belongs to.