mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 08:47:40 +00:00
fix: treat credential validation failures as auth errors for fallback (#761)
This commit is contained in:
@@ -361,6 +361,9 @@ const ERROR_PATTERNS = {
|
||||
"token has expired",
|
||||
/\b401\b/,
|
||||
/\b403\b/,
|
||||
// Credential validation failures should trigger fallback (#761)
|
||||
"no credentials found",
|
||||
"no api key found",
|
||||
],
|
||||
format: [
|
||||
"invalid_request_error",
|
||||
|
||||
Reference in New Issue
Block a user