google is dumb

This commit is contained in:
Nopm
2025-06-03 21:05:12 -03:00
parent 74cbafbb3b
commit 7b3cf409e4
@@ -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;
}