RunErrorData
此内容尚不支持你的语言。
type RunErrorData<TContext, TAgent> = object;Snapshot of run data passed to error handlers.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
|
|
|
|
Properties
Section titled “Properties”history
Section titled “history”history: AgentInputItem[];input: | string | AgentInputItem[];lastAgent?
Section titled “lastAgent?”optional lastAgent: TAgent;newItems
Section titled “newItems”newItems: RunItem[];output
Section titled “output”output: AgentOutputItem[];rawResponses
Section titled “rawResponses”rawResponses: ModelResponse[];state?
Section titled “state?”optional state: RunState<TContext, TAgent>;