javaApiInterceptNodeExecutionStarting
fun javaApiInterceptNodeExecutionStarting(feature: AIAgentGraphFeature<*, *>, handle: Interceptor<NodeExecutionStartingContext>)(source)
Intercepts node execution before it starts.
Parameters
feature
The feature associated with this handler.
handle
The handler that processes before-node events.
Example:
pipeline.interceptNodeExecutionStarting(feature, eventContext -> {
logger.info("Node " + eventContext.getNode().getName()
+ " is about to execute with input: " + eventContext.getInput());
});Content copied to clipboard