sub2api icon indicating copy to clipboard operation
sub2api copied to clipboard

grok出现未观察到配额响应头

Open S1mple09 opened this issue 4 months ago • 5 comments

Image 无法正常用grok4.5了 Image

S1mple09 avatar Jul 16 '26 06:07 S1mple09

Image

刚刚授权的账户出现这个,所有账号也都这样了

dongyaoa avatar Jul 16 '26 06:07 dongyaoa

我也出现了今天,希望平台抓紧修复

Yangshengyi035717 avatar Jul 16 '26 07:07 Yangshengyi035717

+1

HeLongaa avatar Jul 16 '26 07:07 HeLongaa

This issue has two separate symptoms: the request being unusable and the UI reporting that no quota response headers were observed. #4433 covers one confirmed request-blocking path: the CLI proxy returns 403 Access denied, while the same OAuth credential remains valid against the official API.

#4433 adds a narrowly scoped fallback. It only replays a request when the target is the CLI host, Bearer OAuth is in use, the request is replayable, the response is HTTP 403, and the response contains Access denied. Other 403 responses and genuine subscription or quota errors retain their original behavior.

In a private production canary, both OAuth and API-key Grok 4.5 text requests returned HTTP 200 with correct usage attribution. The live accounts did not naturally trigger this specific 403 during the test, so the fallback branch is covered by a focused transport test.

If requests work after the fix but the UI still independently reports missing quota headers, that should remain a separate quota-display issue.

Fix PR: #4433

heathermhuang avatar Jul 16 '26 11:07 heathermhuang

Follow-up connection to #4420 and #4474: the weekly/monthly billing response is now tracked separately from the general quota observation. A recorded billing 403 becomes a media-only ineligibility signal so new image/video requests are not routed to that account.

The independent UI symptom where no quota response headers are observed remains outside #4474 and should not be considered fixed by the media-routing change.

heathermhuang avatar Jul 17 '26 05:07 heathermhuang