fix: treat AWS SSO token errors as auth for model failover
This commit is contained in:
parent
cb4b3f74b5
commit
08453b0456
@ -388,6 +388,10 @@ const ERROR_PATTERNS = {
|
||||
/\b403\b/,
|
||||
"no credentials found",
|
||||
"no api key found",
|
||||
// AWS SSO / aws-sdk auth resolution errors (e.g. Bedrock)
|
||||
"sso session token",
|
||||
"error loading sso token",
|
||||
"was not found or is invalid",
|
||||
],
|
||||
format: [
|
||||
"string should match pattern",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user