Called when an agent finishes execution, before it exits. with the final output and the run ID.
handleAgentEnd(
action: AgentFinish,
runId: string,
parentRunId: string,
tags: string[]
): void | Promise<void>| Name | Type | Description |
|---|---|---|
action* | AgentFinish | |
runId* | string | |
parentRunId | string | |
tags | string[] |