Skip to main content

Interface: IUsageGuardConfig

Defined in: internal/usage-guard/types.ts:30

Configuration of the UsageGuard. Lands in IAIGatewayConfig.usageGuard.

The app passes the one adapter that answers for its usage rules; the gateway constructs the guard around it.

Properties​

adapter​

adapter: IUsageAdapter

Defined in: internal/usage-guard/types.ts:32

The app's answer to "may this model call run?" and the receiver of what every call used.