mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 23:14:31 +00:00
fix(failover): handle unhandled stop reason error
This commit is contained in:
@@ -643,7 +643,7 @@ const ERROR_PATTERNS = {
|
||||
/without sending (?:any )?chunks?/i,
|
||||
/\bstop reason:\s*abort\b/i,
|
||||
/\breason:\s*abort\b/i,
|
||||
/\bunhandled stop reason:\s*abort\b/i,
|
||||
/\bunhandled stop reason:\s*(?:abort|error)\b/i,
|
||||
],
|
||||
billing: [
|
||||
/["']?(?:status|code)["']?\s*[:=]\s*402\b|\bhttp\s*402\b|\berror(?:\s+code)?\s*[:=]?\s*402\b|\b(?:got|returned|received)\s+(?:a\s+)?402\b|^\s*402\s+payment/i,
|
||||
|
||||
Reference in New Issue
Block a user