Interface AttemptLimits

The model attempts a call may make, and the most of each component one attempt may use.

interface AttemptLimits {
    maxAttempts: number;
    perAttempt: Readonly<Record<string, number>>;
}

Properties

maxAttempts: number

Provider attempts in all: first generations, tool continuations, retries and fallbacks alike.

perAttempt: Readonly<Record<string, number>>

The most of each component one attempt may use, by component key; a key no snapshot prices is refused.