google is dumb
This commit is contained in:
@@ -185,9 +185,9 @@ export class GoogleAIKeyChecker extends KeyCheckerBase<GoogleAIKey> {
|
||||
if (hardQuotaMessages.some((r) => r.test(text))) {
|
||||
this.log.warn(
|
||||
{ key: key.hash, error: text, errorCode: code, httpStatus },
|
||||
"Key check returned a 429 error indicating a hard quota limit or billing issue. Disabling, revoking, and marking as over quota."
|
||||
"Key check returned a 429 error indicating a hard quota limit or billing issue. Disabling and marking as over quota, but not revoking."
|
||||
);
|
||||
this.updateKey(key.hash, { isDisabled: true, isRevoked: true, isOverQuota: true });
|
||||
this.updateKey(key.hash, { isDisabled: true, isRevoked: false, isOverQuota: true });
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user