LLMStreamingFailedContext

data class LLMStreamingFailedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val runId: String, val prompt: Prompt, val model: LLModel, val error: Throwable) : LLMStreamingEventContext(source)

Represents the context for handling an error event during streaming. This context is provided when an error occurs during streaming.

Constructors

Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, runId: String, prompt: Prompt, model: LLModel, error: Throwable)

Properties

Link copied to clipboard

The exception or error that occurred during streaming.

Link copied to clipboard
open override val eventId: String

A unique identifier for the event or a group of events;

Link copied to clipboard

Represents the specific type of event handled within the event handler context, categorizing the nature of agent-related or strategy-related events.

Link copied to clipboard

The execution information containing parentId and current execution path;

Link copied to clipboard

The language model instance that was used for streaming;

Link copied to clipboard

The prompt that was sent to the language model for streaming;

Link copied to clipboard

The unique identifier for this streaming session;