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-24 14:51:10 +08:00
2026-02-23 12:45:37 +08:00
2026-02-24 18:08:04 +08:00
2026-02-24 11:31:19 +08:00
2026-02-06 07:14:46 +08:00
2026-02-13 20:12:50 +08:00
2026-02-06 07:41:23 +08:00
2026-02-22 12:56:57 +08:00
2026-02-22 22:07:17 +08:00
2026-02-08 12:05:39 +08:00