fix(model-fallback): enable by default and add missing error patterns for usage limits (#2393)

This commit is contained in:
MoerAI
2026-03-10 17:04:17 +09:00
parent b7731f5520
commit 059853554d
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -55,9 +55,17 @@ const RETRYABLE_MESSAGE_PATTERNS = [
"timeout",
"service unavailable",
"internal_server_error",
"free usage",
"usage exceeded",
"credit",
"balance",
"temporarily unavailable",
"try again",
"503",
"502",
"504",
"429",
"529",
]
const AUTO_RETRY_GATE_PATTERNS = [