LLMStreamingFailedEvent

data class LLMStreamingFailedEvent(val runId: String, val error: AIAgentError, val timestamp: Long = Clock.System.now().toEpochMilliseconds()) : DefinedFeatureEvent(source)

Represents an event indicating a failure in the streaming process of a Language Learning Model (LLM).

This event captures details of the failure encountered during the streaming operation. It includes information such as the unique identifier of the operation run, a detailed error description, and inherits common properties such as event ID and timestamp.

Constructors

Link copied to clipboard
constructor(runId: String, error: AIAgentError, timestamp: Long = Clock.System.now().toEpochMilliseconds())

Properties

Link copied to clipboard

An instance of AIAgentError, containing information about the error encountered, including its message, stack trace, and cause, if available;

Link copied to clipboard
open override val messageType: FeatureMessage.Type

Specifies the type of the feature message for this event.

Link copied to clipboard

A unique identifier representing the specific operation or run in which the failure occurred;

Link copied to clipboard
open override val timestamp: Long

A timestamp indicating when the event occurred, represented in milliseconds since the Unix epoch.