mirror of
https://github.com/chenyme/grok2api.git
synced 2026-12-06 00:01:05 +00:00
When both auto and fast mode rate-limit endpoints fail but weekly credits succeed, resolveWebTierFromQuota unconditionally returned WebTierSuper for any non-Heavy account. This incorrectly elevated free Basic accounts to Super tier, granting access to premium models (expert, auto) they should not have. Preserve the stored tier for already-confirmed Heavy/Super accounts, and keep the current tier (Basic or Auto) unchanged for unconfirmed accounts — weekly credits alone cannot prove a paid subscription.