Feature request: Retry-After header on 429 responses for exhausted Token Plan quota (Open Platform API)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 15/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Bereich
- backend-api-design
Rechercherichtung
The request concerns the Open Platform API server's 429 responses for error 2056, and the payload names no file, test or entry point in this repository. Confirm first whether the CLI code here produces or handles those responses at all, since the header would need to be set by the server. Done means a 429 for an exhausted Token Plan quota includes a Retry-After header whose value is the seconds until the window resets.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Feature Request: include Retry-After header in 429 responses for exhausted Token Plan quota
(This is about the Open Platform API server, not the CLI itself — filing here since this is MiniMax's official public repository.)
Scenario
Agent applications run a primary/fallback model chain with MiniMax as the primary. When the Token Plan quota is exhausted, the 429 response (error 2056, "已达到 Token Plan 用量上限") currently carries no Retry-After header.
Problem
Downstream agent frameworks (e.g. OpenClaw) use Retry-After to classify the rate-limit window:
- With
Retry-After(long window): the client fails over to the fallback model immediately — zero retries. - Without
Retry-After: the client treats it as a transient throttle and keeps retrying the exhausted provider ~10 times over 2–3 minutes before giving up.
During the quota window, every user message pays this 2–3 minute delay, because each turn starts from the primary model again.
Request
Add a Retry-After header to 429 responses that indicate exhausted usage windows (error 2056 Token Plan quota, and similar), with the value set to the remaining seconds until the quota window resets.
Precedent
A comparable CN provider already returns Retry-After on the same class of error (quota exhausted for a billing window), and its clients fail over in milliseconds.
Impact
All agent applications using MiniMax as a primary model benefit: failover latency during quota windows drops from minutes to seconds. Low-cost change, standard HTTP 429 semantics.
No account identifiers, request IDs, or timestamps included — no additional information should be needed to evaluate this request.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2.2k
- Forks
- 190
- Ø Merge
- 1 Std. 39 Min.
- Gemergte PRs (30 T.)
- 3
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus MiniMax-AI/cli
-
[Bug] 未登录时 mmx help 被认证检查拦截,无法查看公开文档链接Evtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
MiniMax-AI/cli#259 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Bug] --no-color 未去除请求状态栏的 ANSI 颜色Evtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
MiniMax-AI/cli#258 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 63/100
MiniMax-AI/cli#278 ·
Maintainer antworten meist innerhalb von 1 Tag
-
SDK streaming iterators leave their response bodies open on early exitEvtl. vergeben @dvd233 hat das vor 11 Tagen übernommen. Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 57/100
MiniMax-AI/cli#277 ·
Maintainer antworten meist innerhalb von 1 Tag
-
/compact commandOffen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
MiniMax-AI/cli#275 ·
Maintainer antworten meist innerhalb von 1 Tag
Ähnliche Issues
-
bug engine
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
frostney/GocciaScript#1746 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
agilepathway/label-checker#739 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 68/100
CopilotKit/OpenBot#800 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Endpoint links in the tag operations list are below the 24px target sizeEvtl. vergeben @AdzerKI hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 79/100
ehmpathy/rhachet-roles-bhuild#471 ·
Maintainer antworten meist innerhalb von 1 Tag