Skip to main content

Interface: AttemptLimits

Defined in: packages/agentos/src/safety/runtime/CreditRates.ts:61

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

Properties​

maxAttempts​

readonly maxAttempts: number

Defined in: packages/agentos/src/safety/runtime/CreditRates.ts:63

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


perAttempt​

readonly perAttempt: Readonly<Record<string, number>>

Defined in: packages/agentos/src/safety/runtime/CreditRates.ts:65

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