onNodeExecutionCompleted

suspend fun onNodeExecutionCompleted(eventId: String, executionInfo: AgentExecutionInfo, node: AIAgentNodeBase<*, *>, context: AIAgentGraphContextBase, input: Any?, inputType: KType, output: Any?, outputType: KType)(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 agent environment transformation event

node

The node that was executed

context

The agent context in which the node 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