Skip to content

Type Alias: TokenMeterState

ts
type TokenMeterState: {
  usedInputTokens: number;
  usedOutputTokens: number;
};

Type declaration

usedInputTokens

ts
usedInputTokens: number;

usedOutputTokens

ts
usedOutputTokens: number;

Defined in

evaluator/TokenMeter.ts:91