fix: avoid false global rate-limit classification from generic cooldown text (#32972)

Merged via squash.

Prepared head SHA: 813c16f5af
Co-authored-by: stakeswky <64798754+stakeswky@users.noreply.github.com>
Co-authored-by: altaywtf <9790196+altaywtf@users.noreply.github.com>
Reviewed-by: @altaywtf
This commit is contained in:
不做了睡大觉
2026-03-06 03:58:21 +08:00
committed by GitHub
parent 591264ef52
commit 8ac7ce73b3
4 changed files with 12 additions and 4 deletions

View File

@@ -4,7 +4,6 @@ const ERROR_PATTERNS = {
rateLimit: [
/rate[_ ]limit|too many requests|429/,
"model_cooldown",
"cooling down",
"exceeded your current quota",
"resource has been exhausted",
"quota exceeded",