onAfterNode

suspend fun onAfterNode(node: AIAgentNodeBase<*, *>, context: AIAgentContextBase, input: Any?, output: Any?)(source)

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

Parameters

node

The node that was executed

context

The stage context in which the node was executed

input

The input data that was provided to the node

output

The output data produced by the node execution