Feature request: Retry-After header on 429 responses for exhausted Token Plan quota (Open Platform API)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 15/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- backend-api-design
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 2.2k
- Forks
- 190
- Merge medio
- 1 h 39 min
- PR fusionados (30 d)
- 3
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de MiniMax-AI/cli
-
[Bug] 未登录时 mmx help 被认证检查拦截,无法查看公开文档链接Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
MiniMax-AI/cli#259 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug] --no-color 未去除请求状态栏的 ANSI 颜色Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
MiniMax-AI/cli#258 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 63/100
MiniMax-AI/cli#278 ·
Los mantenedores suelen responder en 1 día
-
SDK streaming iterators leave their response bodies open on early exitPosiblemente ocupada @dvd233 la tomó hace 11 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 57/100
MiniMax-AI/cli#277 ·
Los mantenedores suelen responder en 1 día
-
/compact commandAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
MiniMax-AI/cli#275 ·
Los mantenedores suelen responder en 1 día
Todos los issues de MiniMax-AI/cli
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
jbacalso24/mimry#459 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
architecture help wanted hive/claimed-by-architect origin/architect stage/030-pr-in-progress tech-debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
kubestellar/console#24422 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area: backends type: docs
Dificultad 1/5 1-3 horas Aptitud para principiantes 83/100
schlessera/brain-kit#2383 ·
Los mantenedores suelen responder en 1 día
-
agent duplicate providers tool triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día