onLLMStreamingFailed

suspend fun onLLMStreamingFailed(runId: String, throwable: Throwable)(source)

Invoked if an error occurs during the streaming process.

This method notifies all registered stream handlers about the streaming error, allowing them to handle or log the error.

Parameters

runId

The unique identifier for this streaming session

throwable

The exception that occurred during streaming, if applicable