コンテンツにスキップ

RunErrorData

このコンテンツはまだ日本語訳がありません。

type RunErrorData<TContext, TAgent> = object;

Snapshot of run data passed to error handlers.

Type Parameter

TContext

TAgent extends Agent<any, any>

history: AgentInputItem[];

input:
| string
| AgentInputItem[];

optional lastAgent: TAgent;

newItems: RunItem[];

output: AgentOutputItem[];

rawResponses: ModelResponse[];

optional state: RunState<TContext, TAgent>;