NodeExecutionErrorContext
data class NodeExecutionErrorContext(val node: AIAgentNodeBase<*, *>, val context: AIAgentContextBase, val throwable: Throwable) : NodeEventHandlerContext(source)
Represents the context for handling errors during the execution of an AI agent node.
This context is typically used to capture information about the execution state and the error that occurred during the lifecycle of an AI agent node in a strategy graph. It provides details such as the identifier of the current run, the node where the error occurred, the execution context, and the specific error itself.
Properties
Link copied to clipboard
The execution context, encapsulated by AIAgentContextBase, which provides runtime information and utilities for executing the node.
Link copied to clipboard
The AI agent node where the error occurred. This is an instance of AIAgentNodeBase.