interface UpstashRatelimitHandlerOptions {
    includeOutputTokens?: boolean;
    llmOutputPromptTokenField?: string;
    llmOutputTokenUsageField?: string;
    llmOutputTotalTokenField?: string;
    requestRatelimit?: RegionRatelimit;
    tokenRatelimit?: RegionRatelimit;
}

Properties

includeOutputTokens?: boolean
llmOutputPromptTokenField?: string
llmOutputTokenUsageField?: string
llmOutputTotalTokenField?: string
requestRatelimit?: RegionRatelimit
tokenRatelimit?: RegionRatelimit