mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 03:24:32 +00:00
fix(agents): harden model fallback failover paths
This commit is contained in:
@@ -615,6 +615,8 @@ type ErrorPattern = RegExp | string;
|
||||
const ERROR_PATTERNS = {
|
||||
rateLimit: [
|
||||
/rate[_ ]limit|too many requests|429/,
|
||||
"model_cooldown",
|
||||
"cooling down",
|
||||
"exceeded your current quota",
|
||||
"resource has been exhausted",
|
||||
"quota exceeded",
|
||||
|
||||
Reference in New Issue
Block a user