retryEvent

fun retryEvent(throwable: Throwable, attempts: Int, maxAttempts: Int, runningTime: Duration): LlmRetryEvent

A failed attempt that is about to be retried.

Parameters

attempts

round trips made to the model so far, including the one that just failed