LLMCallFailedEvent
data class LLMCallFailedEvent(val eventId: String, val executionInfo: AgentExecutionInfo, val runId: String, val prompt: Prompt, val model: ModelInfo, val tools: List<String>, val error: AIAgentError, val timestamp: Long = KoogClock.System.now().toEpochMilliseconds()) : DefinedFeatureEvent(source)
Represents an event that occurs when a call to a large language model (LLM) fails. This event captures relevant details about the failed call, such as the prompt, model information, tools used, and the associated error.
Constructors
Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, runId: String, prompt: Prompt, model: ModelInfo, tools: List<String>, error: AIAgentError, timestamp: Long = KoogClock.System.now().toEpochMilliseconds())