Feature request: Retry-After header on 429 responses for exhausted Token Plan quota (Open Platform API)
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 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 分鐘
- 30 天內合併 PR
- 3
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
MiniMax-AI/cli 的其他 Issue
-
[Bug] 未登录时 mmx help 被认证检查拦截,无法查看公开文档链接可能重新可做 關聯的 PR 已關閉且未合併。 未關閉
難度 2/5 1-3 小時 新手友好度 84/100
MiniMax-AI/cli#259 · 1 則留言 ·
維護者通常 1 天內回覆
-
[Bug] --no-color 未去除请求状态栏的 ANSI 颜色可能重新可做 關聯的 PR 已關閉且未合併。 未關閉
難度 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 於 11 天前認領。 未關閉
難度 3/5 1-2 天 新手友好度 57/100
MiniMax-AI/cli#277 ·
維護者通常 1 天內回覆
-
/compact command未關閉
難度 5/5 一週以上 新手友好度 25/100
MiniMax-AI/cli#275 ·
維護者通常 1 天內回覆
相似的 Issue
-
bug engine
難度 2/5 1-3 小時 新手友好度 86/100
frostney/GocciaScript#1746 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 67/100
agilepathway/label-checker#739 · 4 則留言 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 68/100
CopilotKit/OpenBot#800 ·
維護者通常 1 天內回覆
-
Endpoint links in the tag operations list are below the 24px target size可能已有人在做 @AdzerKI 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 79/100
ehmpathy/rhachet-roles-bhuild#471 ·
維護者通常 1 天內回覆