failureEvent

fun failureEvent(throwable: Throwable, attempts: Int, maxAttempts: Int, runningTime: Duration): LlmCallFailedEvent

The call as a whole failed, whether or not it was retried.

Parameters

attempts

round trips made to the model before giving up