Skip to content

Commit 04c0151

Browse files
authored
feat(cli): add codex auth best account switching (#120)
feat(cli): add codex auth best account switching
1 parent 9ab3669 commit 04c0151

10 files changed

Lines changed: 1181 additions & 17 deletions

File tree

lib/accounts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export interface ManagedAccount {
9292
expires?: number;
9393
addedAt: number;
9494
lastUsed: number;
95-
lastSwitchReason?: "rate-limit" | "initial" | "rotation";
95+
lastSwitchReason?: "rate-limit" | "initial" | "rotation" | "best";
9696
lastRateLimitReason?: RateLimitReason;
9797
rateLimitResetTimes: RateLimitStateV3;
9898
coolingDownUntil?: number;

0 commit comments

Comments
 (0)