mirror of
https://github.com/chenyme/grok2api.git
synced 2026-12-06 00:01:05 +00:00
Map definitive upstream dead-account signals to provider.ErrUnauthorized so import identity sync and Web quota refresh persist reauthRequired (UI: 失效) and drop accounts from scheduling. - Session Parse: status=blocked (no identity) → ErrUnauthorized - Web rate-limits: HTTP 403 body with blocked-user / user is blocked → ErrUnauthorized - Keep generic missing-identity and non-blocked 403 as non-invalidating failures - Add sessionidentity Parse tests and Web quota blocked/generic 403 tests