handle

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

Called before a node is executed.

Parameters

node

The node that will be executed

context

The stage context in which the node is executing

input

The input data for the node