OnModelErrorCallback
Callback invoked when a model encounters an error.
Properties
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.