Feature request: Retry-After header on 429 responses for exhausted Token Plan quota (Open Platform API)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 15/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 2.2k
- フォーク
- 190
- 平均マージ
- 1時間 39分
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MiniMax-AI/cli のほかの issue
-
[Bug] 未登录时 mmx help 被认证检查拦截,无法查看公开文档链接再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
MiniMax-AI/cli#259 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug] --no-color 未去除请求状态栏的 ANSI 颜色再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
MiniMax-AI/cli#258 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 63/100
MiniMax-AI/cli#278 ·
メンテナーはふだん 1 日以内に返信
-
SDK streaming iterators leave their response bodies open on early exit対応中かも @dvd233 が 12 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
MiniMax-AI/cli#277 ·
メンテナーはふだん 1 日以内に返信
-
/compact commandオープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
MiniMax-AI/cli#275 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
area:security documentation effort:S priority:P2
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
app:web meta:ops
難易度 2/5 半日 初心者へのやさしさ 78/100
osu-tournament-rating/otr#1113 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
typegoose/mongodb-memory-server#1040 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 92/100