ConsumptionWithRetries

@Serializable
data class ConsumptionWithRetries(val totalConsumptionWithRetries: LLMConsumptionOrNA = LLMConsumptionOrNA.NA, val totalConsumptionInRetries: LLMConsumptionOrNA = LLMConsumptionOrNA.NA)

Retries-aware consumption totals, attached to a consumption metric when any retry fired below.

Constructors

Link copied to clipboard
constructor(totalConsumptionWithRetries: LLMConsumptionOrNA = LLMConsumptionOrNA.NA, totalConsumptionInRetries: LLMConsumptionOrNA = LLMConsumptionOrNA.NA)

Properties

Link copied to clipboard

Retry attempts only (the final attempt — whether successful or failed — is excluded).

Link copied to clipboard

Final attempt + every preceding retry attempt.