From e9262f7ea83205aec50c77f4c99f04413050a7ed Mon Sep 17 00:00:00 2001 From: yetone Date: Mon, 5 Oct 2026 20:58:54 +0800 Subject: [PATCH] =?UTF-8?q?provider,=20gui:=20a=20Grok=20account=20answere?= =?UTF-8?q?d=20429=20shows=20a=20spent=20Rate=20limit=20window=20on=20its?= =?UTF-8?q?=20card=20until=20the=20limit=20lifts=20(H20=20on=20Discord)=20?= =?UTF-8?q?=E2=80=94=20a=20free=20Grok=20account=20read=20100=20left=20whi?= =?UTF-8?q?le=20its=20requests=20came=20back=20429=20after=20a=20short=20w?= =?UTF-8?q?hile:=20Grok's=20billing=20(/v1/billing=3Fformat=3Dcredits,=20a?= =?UTF-8?q?ll=20the=20CLI's=20/usage=20reads=20too)=20says=20nothing=20of?= =?UTF-8?q?=20a=20plan's=20rate=20limit,=20and=20a=20period's=20credits=20?= =?UTF-8?q?unused=20read=200%=20used.=20@magpie-community/opencode-grok-au?= =?UTF-8?q?th=200.1.7=20keeps=20the=20account's=20last=20429=20and=20its?= =?UTF-8?q?=20usage=20puts=20a=20"Rate=20limit"=20window=20at=20100%,=20as?= =?UTF-8?q?ide=20(the=20gateway=20already=20rests=20the=20account),=20befo?= =?UTF-8?q?re=20the=20period's,=20until=20the=20reset=20the=20429=20named?= =?UTF-8?q?=20(Retry-After,=20or=20a=20*ratelimit*reset*=20header),=20or?= =?UTF-8?q?=20with=20none=20until=20a=20request=20goes=20through=20or=205?= =?UTF-8?q?=20minutes=20pass;=20grok's=20mover=20min=20is=20raised=20to=20?= =?UTF-8?q?it.=20The=20built-in,=20which=20only=20accounts=20that=20haven'?= =?UTF-8?q?t=20moved=20use,=20is=20left=20as=20it=20was.=20"Rate=20limit"?= =?UTF-8?q?=20in=20zh/ja/de.=20The=20plugin's=20new=20usage=20test=20fails?= =?UTF-8?q?=20on=200.1.6;=20its=2020=20tests=20pass,=20and=20against=20the?= =?UTF-8?q?=20owner's=20real=20Grok=20account=20(read-only)=20the=20plugin?= =?UTF-8?q?'s=20usage=20gave=20the=20week=20at=200%=20before=20and=20the?= =?UTF-8?q?=20Rate=20limit=20window=20first=20after=20a=20429=20through=20?= =?UTF-8?q?its=20fetch.=20go=20vet,=20go=20build=20(darwin,=20GOOS=3Dlinux?= =?UTF-8?q?=20nogui,=20GOOS=3Dwindows)=20and=20go=20test=20-tags=20nogui?= =?UTF-8?q?=20./...=20under=20a=20temp=20HOME=20pass.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/gui/assets/i18n.js | 3 +++ internal/provider/migrate_side.go | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/internal/gui/assets/i18n.js b/internal/gui/assets/i18n.js index 40dd1192b..26402d720 100644 --- a/internal/gui/assets/i18n.js +++ b/internal/gui/assets/i18n.js @@ -1676,6 +1676,7 @@ const I18N = { "Month": "本月", "Credits": "积分", "On-demand": "按需用量", + "Rate limit": "限流", "30 days": "30 天", "All": "全部", "effective prices": "生效价格", @@ -5017,6 +5018,7 @@ const I18N = { "Month": "今月", "Credits": "クレジット", "On-demand": "オンデマンド", + "Rate limit": "レート制限", "30 days": "30 日", "All": "すべて", "effective prices": "適用価格", @@ -8336,6 +8338,7 @@ const I18N = { "Month": "Monat", "Credits": "Credits", "On-demand": "On-Demand", + "Rate limit": "Rate-Limit", "30 days": "30 Tage", "All": "Alle", "effective prices": "effektive Preise", diff --git a/internal/provider/migrate_side.go b/internal/provider/migrate_side.go index 358d0f7f5..ae68cdc7b 100644 --- a/internal/provider/migrate_side.go +++ b/internal/provider/migrate_side.go @@ -108,7 +108,7 @@ func init() { // names, as the built-in does: the homes stay where they are. movers["grok"] = &mover{ pkg: "@magpie-community/opencode-grok-auth", - min: "0.1.6", // a failure's status and its sign-in mark as the built-in's; grok-4.7's reasoning levels; a token Grok refuses early reads as expired; the sign-in renewed ahead of time through auth.refresh + min: "0.1.7", // a failure's status and its sign-in mark as the built-in's; grok-4.7's reasoning levels; a token Grok refuses early reads as expired; the sign-in renewed ahead of time through auth.refresh; a 429 shows a spent Rate limit window until it lifts agents: []string{"grok"}, out: func() ([]Moving, error) { var out []Moving