AgentExecutionFailedEvent

data class AgentExecutionFailedEvent(val agentId: String, val runId: String, val error: AIAgentError, val timestamp: Long = Clock.System.now().toEpochMilliseconds()) : 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, timestamp: Long = Clock.System.now().toEpochMilliseconds())

Creates an instance of AgentExecutionFailedEvent.

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 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 of the event, in milliseconds since the Unix epoch.