AgentExecutionFailedContext

data class AgentExecutionFailedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val agent: AIAgent<*, *>, val context: AIAgentContext, val runId: String, val error: Throwable) : AgentEventContext(source)

Represents the context for handling errors that occur during the execution of an agent run.

Constructors

Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, agent: AIAgent<*, *>, context: AIAgentContext, runId: String, error: Throwable)

Properties

Link copied to clipboard
open override val agent: AIAgent<*, *>

The AI agent associated with this context.

Link copied to clipboard

The context associated with the agent's execution.

Link copied to clipboard

The exception or error thrown during the execution.

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

The identifier for the session during which the error occurred.