Package-level declarations
Types
Link copied to clipboard
data class LLMStreamingCompletedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val runId: String, val prompt: Prompt, val model: LLModel, val tools: List<ToolDescriptor>, val context: AIAgentContext) : LLMStreamingEventContext
Represents the context for handling an after-stream event. This context is provided when streaming is complete.
Link copied to clipboard
Represents the context for handling streaming-specific events within the framework.
Link copied to clipboard
data class LLMStreamingFailedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val runId: String, val prompt: Prompt, val model: LLModel, val error: Throwable, val context: AIAgentContext) : LLMStreamingEventContext
Represents the context for handling an error event during streaming. This context is provided when an error occurs during streaming.
Link copied to clipboard
data class LLMStreamingFrameReceivedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val runId: String, val prompt: Prompt, val model: LLModel, val streamFrame: StreamFrame, val context: AIAgentContext) : LLMStreamingEventContext
Represents the context for handling individual stream frame events. This context is provided when stream frames are sent out during the streaming process.
Link copied to clipboard
data class LLMStreamingStartingContext(val eventId: String, val executionInfo: AgentExecutionInfo, val runId: String, val prompt: Prompt, val model: LLModel, val tools: List<ToolDescriptor>, val context: AIAgentContext) : LLMStreamingEventContext
Represents the context for handling a before-stream event. This context is provided when streaming is about to begin.