ExLLM.Retry.RetryPolicy (ex_llm v0.5.0)

View Source

Defines a retry policy for a specific provider or operation.

Summary

Types

t()

@type t() :: %ExLLM.Retry.RetryPolicy{
  base_delay: non_neg_integer(),
  circuit_breaker: map() | nil,
  jitter: boolean(),
  max_attempts: non_neg_integer(),
  max_delay: non_neg_integer(),
  multiplier: number(),
  retry_on: (term() -> boolean()) | nil
}