Skip to main content

Interface: TokenLimitErrorContext

Context supplied when constructing a TokenLimitError.

See

TokenLimitError

Properties

model

model: string;

Model that triggered the limit breach.


rule

rule: TokenLimitRule;

Limit rule that was violated.


usageKind?

optional usageKind: string;

Optional usage classification.


window

window: TokenSummaryWindow;

Window where the limit was exceeded.


windowKey

windowKey: string;

Active window key for the breach.