LeafRecordWithRetries

Leaf record that may carry retry history. The elapsedTime and consumption fields are the final attempt's values; the extension helpers below combine them with previousAttempts.

Inheritors

Properties

Link copied to clipboard

LLM consumption of the final attempt. See aggregatedConsumption for the all-attempts total.

Link copied to clipboard
abstract val elapsedTime: Duration

Wall-clock elapsed time of the final attempt. See aggregatedElapsedTime for the all-attempts total.

Link copied to clipboard

Failed attempts preceding the final attempt, in execution order; empty if no retries occurred.

Functions

Link copied to clipboard

Final attempt + retry attempts. Returns NA only if every contributing value is NA.

Link copied to clipboard

Final attempt + retry attempts + retry wait delays.

Link copied to clipboard

Retry attempts only (excludes the final attempt). NA if all retries had NA consumption.

Link copied to clipboard

Retry-attempt elapsed + retry wait delays (excludes the final attempt).