Feature request: Retry-After header on 429 responses for exhausted Token Plan quota (Open Platform API)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 15/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- backend-api-design
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 2.2k
- Fork
- 195
- Merge medio
- 1h 39m
- PR unite (30g)
- 3
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di MiniMax-AI/cli
-
[Bug] 未登录时 mmx help 被认证检查拦截,无法查看公开文档链接Forse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
MiniMax-AI/cli#259 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug] --no-color 未去除请求状态栏的 ANSI 颜色Forse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
MiniMax-AI/cli#258 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 63/100
MiniMax-AI/cli#278 ·
I maintainer di solito rispondono entro 1 giorno
-
SDK streaming iterators leave their response bodies open on early exitForse già presa @dvd233 l’ha presa 13 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
MiniMax-AI/cli#277 ·
I maintainer di solito rispondono entro 1 giorno
-
/compact commandAperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
MiniMax-AI/cli#275 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di MiniMax-AI/cli
Issue simili
-
area: aria/combobox gemini-triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
angular/components#33973 ·
I maintainer di solito rispondono entro 1 giorno
-
bug priority: P2
Difficoltà 1/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
[bug] status, list and push crash with an uncaught NotInitializedError stack trace when teamai is not initializedForse già presa @jay23606 l’ha presa oggi. Apertabug good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Tencent/teamai-cli#1227 ·
I maintainer di solito rispondono entro 1 giorno
-
[Tool]: YapAperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 62/100
withkarann/aifoxx#417 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
sindresorhus/eslint-plugin-unicorn#3921 ·
I maintainer di solito rispondono entro 1 giorno