LLMStreamingFrameReceivedContext

data class LLMStreamingFrameReceivedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val context: AIAgentContext, val runId: String, val prompt: Prompt, val model: LLModel, val streamFrame: StreamFrame) : LLMStreamingEventContext(source)

Represents the context for handling individual stream frame events. This context is provided when stream frames are sent out during the streaming process.

Constructors

Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, context: AIAgentContext, runId: String, prompt: Prompt, model: LLModel, streamFrame: StreamFrame)

Properties

Link copied to clipboard
open override val context: AIAgentContext

The agent context associated with the streaming event.

Link copied to clipboard
open override val eventId: String

The unique identifier for the event.

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

Holds execution-specific context information to support observability and tracing during the lifecycle of an agent.

Link copied to clipboard
open override val model: LLModel

The language model instance being used for streaming.

Link copied to clipboard
open override val prompt: Prompt

The prompt that will be sent to the language model for streaming.

Link copied to clipboard
open override val runId: String

The unique identifier for this streaming session.

Link copied to clipboard

The individual stream frame containing partial response data from the LLM.