"frontend/src/api/vscode:/vscode.git/clone" did not exist on "9f8cffe887b19b988e4ece5c09a7e2f35d96e868"
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
This diff is collapsed.
Please register or sign in to comment