erio
09166a52f8
refactor: extract failover error handling into FailoverState
- Extract duplicated failover logic from gateway_handler.go (3 places)
and gemini_v1beta_handler.go into shared failover_loop.go
- Introduce FailoverState with HandleFailoverError and HandleSelectionExhausted
- Move helper functions (needForceCacheBilling, sleepWithContext) into failover_loop.go
- Add comprehensive unit tests (32+ test cases)
- Delete redundant gateway_handler_single_account_retry_test.go
2026-02-24 18:08:04 +08:00
..
2026-02-23 12:45:37 +08:00
2026-02-24 14:08:42 +08:00
2026-02-24 18:08:04 +08:00
2026-02-08 12:05:39 +08:00
2026-02-08 12:05:39 +08:00
2026-02-10 11:42:39 +08:00
2026-02-24 15:04:04 +08:00
2026-02-24 12:18:07 +08:00
2026-02-24 17:16:53 +08:00
2026-02-24 17:16:53 +08:00
2026-02-12 19:01:09 +08:00
2026-02-09 21:35:41 +08:00
2026-02-19 20:04:10 +08:00
2026-02-19 08:02:56 +08:00