mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-24 16:05:44 +08:00
PR #723 changed all OAuth 401 to use SetTempUnschedulable instead of SetError, and PR #761 added 401 escalation logic in tryTempUnschedulable. Both caused non-OpenAI accounts to frequently become temporarily unschedulable. - HandleUpstreamError case 401: limit temp-unschedulable to OpenAI OAuth only, other platforms (Anthropic/Gemini/Antigravity) revert to original SetError - tryTempUnschedulable: skip 401 escalation for Antigravity, let its applyErrorPolicy temp_unschedulable_rules handle 401 naturally Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>