onLLMStreamingFrameReceived

suspend fun onLLMStreamingFrameReceived(runId: String, streamFrame: StreamFrame)(source)

Invoked when a stream frame is received during the streaming process.

This method notifies all registered stream handlers about each incoming stream frame, allowing them to process, transform, or aggregate the streaming content in real-time.

Parameters

runId

The unique identifier for this streaming session

streamFrame

The individual stream frame containing partial response data