fix(grok): fail over OAuth credential errors safely

This commit is contained in:
Heatherm Huang
2026-07-14 14:55:30 +08:00
parent 41cec0db05
commit 343390057d
63 changed files with 5291 additions and 522 deletions
+1
View File
@@ -9,6 +9,7 @@ export function mapErrorCategory(phase?: string | null, errType?: string | null)
return 'auth'
case 'routing':
return 'service_unavailable'
case 'account_auth':
case 'upstream':
case 'network':
return 'upstream'