fix(agents): match billing upgrade error prefix

This commit is contained in:
Sebastian
2026-02-09 21:05:54 -05:00
parent 82871daf36
commit dea5ad9c6a

View File

@@ -473,6 +473,7 @@ const ERROR_PATTERNS = {
"insufficient credits",
"credit balance",
"plans & billing",
"billing:",
"insufficient balance",
],
auth: [
@@ -534,7 +535,7 @@ export function isBillingErrorMessage(raw: string): boolean {
if (!value) {
return false;
}
return matchesErrorPatterns(value, ERROR_PATTERNS.billing);
}