onNodeExecutionStarting

expect open suspend override fun onNodeExecutionStarting(eventId: String, executionInfo: AgentExecutionInfo, context: AIAgentGraphContextBase, node: AIAgentNodeBase<*, *>, input: Any?, inputType: TypeToken)(source)

Notifies all registered node handlers before a node is executed.

Parameters

eventId

The unique identifier for the event group;

executionInfo

The execution information for the node execution event;

context

The agent context in which the node is being executed;

node

The node that is about to be executed;

input

The input data for the node execution;

inputType

The type of the input data provided to the node.