@cortexkit/anthropic-auth-core 1.10.1 → 1.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accounts.js +2 -0
- package/package.json +1 -1
package/dist/accounts.js
CHANGED
|
@@ -951,6 +951,8 @@ function isTransientQuotaError(error) {
|
|
|
951
951
|
const message = formatErrorMessage(error);
|
|
952
952
|
if (/Claude quota check failed: (429|5\d\d)\b/.test(message))
|
|
953
953
|
return true;
|
|
954
|
+
if (message.includes('Quota refresh is already in progress'))
|
|
955
|
+
return true;
|
|
954
956
|
if (!(error instanceof Error))
|
|
955
957
|
return false;
|
|
956
958
|
const code = error.code;
|