mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-10-10 01:31:03 +08:00
- Introduce `authUnavailableError` with detailed recovery hints, status codes, and retry-after headers. - Refactor scheduler logic to incorporate local retry deadlines and classify cooldown states without altering quota assessments. - Refine error propagation to properly handle upstream errors and enrich context for retryable scenarios. - Add comprehensive tests for retry deadlines, scheduler behavior, and error handling during credential unavailability. - Ensure embedded recovery hints in HTTP headers for improved client-side handling and diagnostics. Closes: #5842