We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ab3669 commit 04c0151Copy full SHA for 04c0151
10 files changed
lib/accounts.ts
@@ -92,7 +92,7 @@ export interface ManagedAccount {
92
expires?: number;
93
addedAt: number;
94
lastUsed: number;
95
- lastSwitchReason?: "rate-limit" | "initial" | "rotation";
+ lastSwitchReason?: "rate-limit" | "initial" | "rotation" | "best";
96
lastRateLimitReason?: RateLimitReason;
97
rateLimitResetTimes: RateLimitStateV3;
98
coolingDownUntil?: number;
0 commit comments