Files
CC-Switch/src-tauri/src/proxy
Jason 007813e09e fix(proxy): retry failover for all HTTP errors including 4xx
Previously, only 429, 408, and 5xx errors triggered failover to the next
provider. Other 4xx errors (like 400) were considered non-retryable and
caused immediate disconnection.

This was problematic because different providers have different restrictions
(e.g., "Do not use this API outside Claude Code CLI"), and a 400 error from
one provider doesn't mean other providers will fail.

Now all upstream HTTP errors trigger failover, allowing the system to try
all configured providers before giving up.
2025-12-15 17:12:36 +08:00
..
2025-12-05 11:26:41 +08:00
2025-12-05 11:26:41 +08:00
2025-12-05 11:26:41 +08:00
2025-12-05 11:26:41 +08:00
2025-12-05 11:26:41 +08:00
2025-12-11 17:20:44 +08:00