diff --git a/controller/relay-utils.go b/controller/relay-utils.go index 494186e3..947e956b 100644 --- a/controller/relay-utils.go +++ b/controller/relay-utils.go @@ -135,7 +135,7 @@ func shouldDisableChannel(err *OpenAIError, statusCode int) bool { if err == nil { return false } - if statusCode == http.StatusUnauthorized || statusCode == http.StatusTooManyRequests { + if statusCode == http.StatusUnauthorized { return true } if err.Type == "insufficient_quota" || err.Code == "invalid_api_key" || err.Code == "account_deactivated" {