llmStreamingFailedHandler

A handler invoked when an error occurs during streaming from the language model (LLM).

This variable represents a custom implementation of the StreamErrorHandler functional interface, allowing error handling or logging logic to be applied during streaming errors.

The handler receives the error message and a unique run identifier, enabling real-time monitoring or logging of streaming errors.

Customize this handler to implement specific behavior required during streaming errors.