<<<<<<< HEAD ======= >>>>>>> 0a75ee1214dbcf88620b703810fab9e09d8c89fb

OnModelErrorCallback

Callback invoked when a model encounters an error.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val name: String

The name of this callback, used for tracing and logging.

Functions

Link copied to clipboard
abstract suspend fun call(context: CallbackContext, request: LlmRequest, error: Throwable): CallbackChoice<Unit, LlmResponse>

Callback executed when a model call encounters an error.