backup current stable ejclaw state

This commit is contained in:
Codex
2026-05-27 10:53:05 +09:00
parent 646bc34372
commit 1509108e04
57 changed files with 7127 additions and 154 deletions

View File

@@ -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')) &&