Skip to main content

Function: quoteCompoundLiability()

quoteCompoundLiability(request): CompoundLiability

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

The most a call can cost: its full duration at the media component, plus every permitted attempt at its maximum under the dearest of the primary and the fallback snapshots, on the customer's side and the supplier's separately.

Parameters​

request​

LiabilityRequest

Returns​

CompoundLiability

Throws​

When a snapshot prices no component the request names, or a number is not whole.