AIAgentFinishedEvent

data class AIAgentFinishedEvent(val agentId: String, val runId: String, val result: String?, val eventId: String = AIAgentFinishedEvent::class.simpleName!!) : DefinedFeatureEvent(source)

Event representing the completion of an AI Agent's execution.

This event is emitted when an AI Agent finishes executing a strategy, providing information about the strategy and its result. It can be used for logging, tracing, or monitoring the outcomes of agent operations.

Constructors

Link copied to clipboard
constructor(agentId: String, runId: String, result: String?, eventId: String = AIAgentFinishedEvent::class.simpleName!!)

Properties

Link copied to clipboard

The unique identifier of the AI agent;

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 result of the strategy execution, or null if unavailable.

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.