SubgraphExecutionFailedContext

data class SubgraphExecutionFailedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val context: AIAgentContext, val subgraph: AIAgentSubgraphBase<*, *>, val input: Any?, val inputType: TypeToken, val error: Throwable) : SubgraphExecutionEventContext(source)

The context for handling a subgraph execution failed event.

Constructors

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

Properties

Link copied to clipboard
open override val context: AIAgentContext

The context in which the subgraph is being executed.

Link copied to clipboard

The exception that caused the subgraph execution to fail.

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

Holds execution-specific context information to support observability and tracing during the lifecycle of an agent.

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
open override val subgraph: AIAgentSubgraphBase<*, *>

The subgraph instance that is being executed.