onBeforeNode

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

Notifies all registered node handlers before a node is executed.

Parameters

node

The node that is about to be executed

context

The stage context in which the node is being executed

input

The input data for the node execution