onNodeExecutionCompleted

expect open suspend override fun onNodeExecutionCompleted(eventId: String, executionInfo: AgentExecutionInfo, context: AIAgentGraphContextBase, node: AIAgentNodeBase<*, *>, input: Any?, inputType: TypeToken, output: Any?, outputType: TypeToken)(source)

Notifies all registered node handlers after a node has been executed.

Parameters

eventId

The unique identifier for the event group;

executionInfo

The execution information for the node execution event;

context

The agent context in which the node was executed;

node

The node that was executed;

input

The input data that was provided to the node;

inputType

The type of the input data provided to the node;

output

The output data produced by the node execution;

outputType

The type of the output data produced by the node execution.