Skip to content
Prompty

RetryPolicyRequest

Context supplied to the retry policy after a retryable model failure.

---
title: RetryPolicyRequest
config:
  look: handDrawn
  theme: colorful
  class:
    hideEmptyMembersBox: true
---
classDiagram
    class RetryPolicyRequest {
        +int32 failedAttempts
        +int32 nextAttempt
        +int32 maxAttempts
        +string reason
    }
Name Type Description
failedAttempts int32 Number of failures observed for this invocation, starting at one
nextAttempt int32 One-based attempt number that will run after backoff
maxAttempts int32 Maximum attempts permitted for the invocation
reason string Human-readable reason for the retry