SubgraphExecutionCompletedContext

data class SubgraphExecutionCompletedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val subgraph: AIAgentSubgraphBase<*, *>, val context: AIAgentGraphContextBase, val input: Any?, val output: Any?, val inputType: TypeToken, val outputType: TypeToken) : SubgraphExecutionEventContext(source)

The context for handling a subgraph execution completed event.

Constructors

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

Properties

Link copied to clipboard

The context in which the subgraph 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 for the subgraph execution.

Link copied to clipboard
val inputType: TypeToken

The type of the input data for the subgraph execution.

Link copied to clipboard
val output: Any?

The output data from the subgraph execution.

Link copied to clipboard
val outputType: TypeToken

The type of the output data for the subgraph execution.

Link copied to clipboard

The subgraph instance that was executed.