interceptLLMStreamingFailed

fun <TFeature : Any> interceptLLMStreamingFailed(interceptContext: InterceptContext<TFeature>, handle: suspend TFeature.(eventContext: LLMStreamingFailedContext) -> Unit)(source)

Intercepts errors during the streaming process.

Parameters

interceptContext

The context containing the feature and its implementation

handle

The handler that processes stream errors