mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-06-23 11:21:11 +08:00
- Added `isCodexUsageLimitError` to detect and handle `usage_limit_reached` errors from Codex responses. - Updated `newCodexStatusErr` to treat usage limit errors as HTTP 429 with proper `RetryAfter` handling. - Enhanced test coverage to validate usage limit error handling, including reset time parsing and retry behavior. Closes: #2886
67 KiB
67 KiB