backup current stable ejclaw state
This commit is contained in:
@@ -260,8 +260,11 @@ export function classifyAgentError(
|
||||
return { category: 'rate-limit', reason: '429', retryAfterMs };
|
||||
}
|
||||
|
||||
// 503 / Overloaded
|
||||
const hasApi5xx = /\bapi error:\s*5\d\d\b/i.test(error);
|
||||
|
||||
// 5xx / Overloaded
|
||||
if (
|
||||
hasApi5xx ||
|
||||
lower.includes('503') ||
|
||||
lower.includes('overloaded') ||
|
||||
((lower.includes('502') || lower.includes('bad gateway')) &&
|
||||
|
||||
Reference in New Issue
Block a user