"frontend/src/i18n/git@web.lueluesay.top:chenxi/sub2api.git" did not exist on "9c144587fe7cafb9457f9bae0d34635d2879f178"
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
Please register or sign in to comment