NodeExecutionCompletedContext

data class NodeExecutionCompletedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val node: AIAgentNodeBase<*, *>, val context: AIAgentGraphContextBase, val input: Any?, val inputType: KType, val output: Any?, val outputType: KType) : NodeExecutionEventContext(source)

Represents the context for handling an after node execution event.

Constructors

Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, node: AIAgentNodeBase<*, *>, context: AIAgentGraphContextBase, input: Any?, inputType: KType, output: Any?, outputType: KType)

Properties

Link copied to clipboard

The stage context in which the node was executed.

Link copied to clipboard
open override val eventId: String

The unique identifier for the event.

Link copied to clipboard

Represents the specific type of event handled within the event handler context, categorizing the nature of agent-related or strategy-related events.

Link copied to clipboard

The execution information containing parentId and current execution path;

Link copied to clipboard
val input: Any?

The input data that was provided to the node.

Link copied to clipboard

KType representing the type of the input.

Link copied to clipboard

The node that was executed.

Link copied to clipboard
val output: Any?

The output data produced by the node execution.

Link copied to clipboard

KType representing the type of the output.