Interface: UsageTrackerOptions

Defined in: costs/types.ts:141

Options for UsageTracker

Properties

budget?

optional budget?: TokenBudgetConfig;

Defined in: costs/types.ts:145

Token budget configuration

enabled?

optional enabled?: boolean;

Defined in: costs/types.ts:143

Whether tracking is enabled (default: true)

sessionId?

optional sessionId?: string;

Defined in: costs/types.ts:147

Session ID for grouping