Skip to main content

Interface: RateComponent

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

One billable component of a snapshot: the customer's price and the supplier's cost for the same unit.

Properties​

customer​

readonly customer: RationalRate

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

What the customer is charged.


supplier​

readonly supplier: RationalRate

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

What the platform pays its supplier for the same quantity.