AIAgentRunErrorEvent
data class AIAgentRunErrorEvent(val agentId: String, val runId: String, val error: AIAgentError, val eventId: String = AIAgentRunErrorEvent::class.simpleName!!) : DefinedFeatureEvent(source)
Represents an event triggered when an AI agent run encounters an error.
This event is used to capture error information during the execution of an AI agent strategy, including details of the strategy and the encountered error.
Constructors
Link copied to clipboard
constructor(agentId: String, runId: String, error: AIAgentError, eventId: String = AIAgentRunErrorEvent::class.simpleName!!)
Creates an instance of AIAgentRunErrorEvent.
Properties
Link copied to clipboard
The AIAgentError instance encapsulating details about the encountered error, such as its message, stack trace, and cause.
Link copied to clipboard
Specifies the type of the feature message for this event.