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 unique identifier of the AI agent;

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
open override val eventId: String
Link copied to clipboard
open override val messageType: FeatureMessage.Type

Specifies the type of the feature message for this event.

Link copied to clipboard

The unique identifier of the AI agen run;

Link copied to clipboard
open override val timestamp: Long

The timestamp, represented as the number of milliseconds since the Unix epoch, indicating when the feature event was created.