handle

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

Called after a node has been executed.

Parameters

node

The node that was executed

context

The stage context in which the node executed

input

The input data that was provided to the node

output

The output data produced by the node