yetone
248edad80c
provider: a plugin host ends with the test whose HOME it started in ( #6761 )
...
TestRemoveListedAccountLeavesHiddenNamesake failed in full runs (CI Test
at e99307fb8 , ubuntu) and passed alone. A bisect over the 1779 tests
that run before it found TestPluginEmptyKeyKeyAsked: its PluginAPIKey
starts a real plugin host (Bun) and leaves it up. plugin.SignOut asks a
running host, and that host's files are the earlier test's HOME, so the
remove landed there and this test's plugin-auth.json kept the account.
claudeHome (which movedPlugin and the culprit both use) now stops a
host that is up before it sets the new HOME, and again in cleanup. That
covers every provider test that sets a HOME through it, not only this
pair.
Run (mote, then mica as mote was over its cores):
- red before: -run '^(TestPluginEmptyKeyKeyAsked|TestRemoveListedAccountLeavesHiddenNamesake)$'
-> "the account removed is still signed in"; green after.
- go vet ./internal/provider/; go test -count=1 -timeout 45m
./internal/provider/ ./internal/plugin/ at this tree: ok 142.9s, ok 171.6s.
Not run: the full suite (test-only change in one package's helper).
2026-11-15 22:38:32 +08:00
..
2026-11-15 02:19:18 +08:00
2026-10-12 23:45:06 +08:00
2026-11-09 18:19:02 +08:00
2026-11-11 14:18:10 +08:00
2026-11-13 23:42:57 +08:00
2026-11-05 00:11:02 +08:00
2026-11-01 15:15:08 +08:00
2026-11-01 15:15:08 +08:00
2026-10-10 10:22:59 +08:00
2026-11-15 12:14:48 +08:00
2026-11-12 12:28:56 +08:00
2026-10-29 23:44:56 +08:00
2026-11-01 15:15:08 +08:00
2026-10-27 10:02:22 +08:00
2026-10-27 10:02:22 +08:00
2026-10-11 03:42:35 +08:00
2026-10-11 03:42:35 +08:00
2026-11-01 14:50:45 +08:00
2026-11-15 22:38:32 +08:00
2026-10-31 11:03:35 +08:00
2026-10-31 11:03:35 +08:00
2026-11-15 03:50:46 +08:00
2026-11-15 03:50:46 +08:00
2026-11-14 03:37:38 +08:00
2026-11-01 07:39:08 +08:00
agent, gateway: Cursor Private Inference's row has an effort, which magpie's gateway asks its requests for ( #1003 , gjf7) — other agents' rows pick a reasoning effort that magpie writes into their config, but Cursor Private Inference reads only its base URL and key from the environment, and its app offers no Reasoning control for most of magpie's models, so there was no way to set one short of a routing group with a member fixed at a level, which the reporter used as a workaround. Its row now has an effort field like the others': the default (as Cursor asks) first, then every level the models it lists have (cursorLocalEfforts: their levels in MemberEfforts order, low/medium/high where a model reasons with levels unknown, none at all when nothing it lists reasons or it isn't connected). The pick is kept in magpie, settings' agentEfforts by agent (provider.AgentEffort / SetAgentEffort, a level of MemberEfforts or "" for none), and the gateway's candidate loop asks a cursor-local request for it with withFixedEffort, fitted to the model's levels and bounded by a group's, on a model that reasons (the new Provider.Thinks: levels, its list's Reasoning, or models.dev's). Precedence: a group member's fixed effort, then a :effort suffix, then a routing rule's turn pick, then the agent's pick, then the request's own; the pick wins over a level Cursor sent, as Cursor sends its own default as often as a choice, and Default hands the choice back to Cursor. A model that doesn't reason and every other agent's requests go as they came. The Settings page's save carries agentEfforts over as it does fastPicks (TestSettingsSaveKeepsWhatItDoesNotSend's fixture names it). In the window the field sits under "Settings" rather than "New sessions" for this agent alone, as it applies to every request from then on, not to what a session starts on; no new t() strings (Settings, effort and default are translated in zh, ja and de already). TestAgentEffortOnCursorLocal (Chat and Responses with and without a level of their own, Claude on Messages made to think, OpenCode's request untouched, a non-reasoning model untouched, a member fixed at low kept, the pick taken off) fails without the gateway change and passes; TestCursorLocalEffort covers the options (none with no reasoning model, the union of levels, the low/medium/high fallback, none while disconnected), Apply and a bad level refused; both pass -race (-count=20 gateway, -count=10 agent). cursor-local-effort.test.cjs (the window at 560px and the tray panel at 440px: the field under Settings, the slider's five stops with Default first, a pick posting the field, no sideways scroll) passes on Chromium and WebKit in en, zh, ja and de; claude-effort, subagent-effort, agent-field-names, agent-connect, agent-layout, agent-tweak-fold, agent-models, cursor-local-launch and i18n pass on both. go test -tags nogui ./internal/..., go vet, gofmt -l, linux (nogui) and windows builds pass. Not tried with the real Cursor Private Inference: whether it sends a reasoning level of its own on models it shows a Reasoning control for is unverified, which the precedence makes moot. docs/subsystems/gateway-routing.md and agent-wiring.md say it.
2026-10-06 17:29:28 +08:00
2026-11-12 23:01:29 +08:00
2026-11-14 14:02:49 +08:00
2026-11-14 12:21:48 +08:00
2026-11-13 18:41:28 +08:00
2026-11-14 15:46:34 +08:00
2026-10-10 20:00:38 +08:00
2026-11-13 18:50:25 +08:00
2026-11-01 11:53:58 +08:00
2026-11-07 13:26:51 +08:00
2026-11-01 07:06:19 +08:00
2026-11-01 07:06:19 +08:00
2026-11-15 12:14:48 +08:00
2026-10-20 02:49:50 +08:00
2026-11-15 22:17:30 +08:00
2026-11-15 12:14:48 +08:00
2026-11-10 20:16:44 +08:00
2026-11-15 12:14:48 +08:00
2026-11-15 12:14:48 +08:00
2026-11-15 12:14:48 +08:00
2026-11-15 12:14:48 +08:00
2026-11-12 17:03:53 +08:00
2026-10-12 20:18:31 +08:00
2026-10-12 20:18:31 +08:00
2026-10-26 10:19:29 +08:00
2026-11-09 20:06:22 +08:00
2026-10-30 03:09:29 +08:00
2026-10-20 00:18:51 +08:00
2026-11-12 01:56:26 +08:00
2026-10-29 20:31:20 +08:00
2026-10-25 11:52:02 +08:00
2026-11-12 19:31:11 +08:00
2026-11-05 00:14:14 +08:00
2026-11-14 13:03:16 +08:00
2026-11-12 03:13:50 +08:00
2026-11-10 02:23:23 +08:00
2026-11-12 03:13:50 +08:00
2026-10-28 10:52:46 +08:00
2026-11-14 13:03:16 +08:00
2026-11-06 11:53:33 +08:00
2026-11-10 12:54:39 +08:00
2026-11-14 21:05:50 +08:00
2026-11-10 04:33:22 +08:00
2026-10-16 19:30:42 +08:00
2026-10-30 04:48:17 +08:00
2026-11-10 18:58:03 +08:00
2026-11-14 12:21:48 +08:00
2026-11-12 05:30:42 +08:00
2026-10-28 09:29:44 +08:00
2026-10-13 09:09:37 +08:00
2026-11-15 06:06:25 +08:00
2026-11-01 05:00:54 +08:00
2026-11-01 06:16:35 +08:00
2026-10-14 19:06:50 +08:00
2026-10-06 02:30:31 +08:00
2026-11-02 20:04:32 +08:00
2026-11-06 19:50:18 +08:00
2026-11-13 17:36:40 +08:00
2026-11-13 17:36:40 +08:00
2026-11-02 05:22:12 +08:00
2026-11-10 11:17:07 +08:00
2026-10-17 23:11:00 +08:00
2026-10-21 07:23:23 +08:00
2026-11-06 19:48:21 +08:00
2026-11-14 14:02:49 +08:00
2026-10-13 06:43:00 +08:00
2026-11-01 07:15:05 +08:00
2026-10-26 01:59:38 +08:00
2026-11-01 07:15:05 +08:00
2026-11-14 03:17:11 +08:00
2026-11-09 23:25:19 +08:00
2026-11-14 03:17:11 +08:00
2026-11-14 03:17:11 +08:00
claude: an account's saved sign-in isn't overwritten with the account Claude Code was just switched to (netfishx on X: Pro, Max and Team accounts, "Keep Claude Code signed in to" on; after routing moved once or twice the Usage page showed one account's plan and allowance on another's card) — magpie switching Claude Code (to the kept account, or back to it) writes the new sign-in and profile, and a Claude Code started on the account before then writes that one's profile into ~/.claude.json: the credential was the Team's, the profile the Pro's. rememberLogins paired them, and upsertLogin, matching the Pro's record by the profile, wrote the Team's sign-in and plan into it ("pro@x.com · Team"). The Pro's runs, in its own config directory seeded from that record, then spent the Team account, and their rate_limit_events and plan showed on the Pro's card. upsertLogin now refuses a Claude sign-in another saved account holds (access or refresh token) while the record the profile names doesn't: the account the profile names holding it already, or Claude Code having renewed it, it is saved as before, so a record crossed by an earlier version doesn't hold the owner back (re-adding the crossed account puts its own sign-in back). TestClaudeUsageUnavailableAfterAccountSwitch switched by the profile alone; it now writes the new account's sign-in as a switch does. Not tried with real Claude accounts (one here). claude_crossed_test (switch to Team, the Pro's profile written after, switch back: each record and each saved account's directory keeps its own sign-in and plan; a crossed record doesn't stop the Team's own being saved, renewed or not) fails without the fix on the first case and passes with -race -count=5; go test ./internal/provider/ ./internal/gateway/, go vet, linux(nogui)/windows builds pass.
2026-10-06 13:39:48 +08:00
2026-11-14 13:08:40 +08:00
2026-11-14 13:08:40 +08:00
2026-11-13 23:42:57 +08:00
2026-11-14 14:02:49 +08:00
2026-10-07 03:00:47 +08:00
2026-10-31 18:18:37 +08:00
2026-10-11 23:37:34 +08:00
2026-10-13 09:50:28 +08:00
2026-10-31 23:35:27 +08:00
2026-11-10 18:21:32 +08:00
2026-11-12 08:27:46 +08:00
2026-11-14 13:08:40 +08:00
2026-11-02 05:38:11 +08:00
2026-10-21 19:00:33 +08:00
2026-11-10 13:04:57 +08:00
2026-11-02 11:48:26 +08:00
2026-10-30 22:05:12 +08:00
2026-10-30 22:05:12 +08:00
2026-11-09 06:48:26 +08:00
2026-10-25 04:12:06 +08:00
2026-11-11 12:26:43 +08:00
2026-11-11 12:26:43 +08:00
2026-11-04 17:12:50 +08:00
2026-11-05 06:43:51 +08:00
2026-11-10 05:03:10 +08:00
2026-10-08 06:20:03 +08:00
2026-10-30 14:50:44 +08:00
2026-11-02 11:48:26 +08:00
2026-11-15 14:30:16 +08:00
2026-10-20 20:23:55 +08:00
2026-10-05 20:42:48 +08:00
2026-11-02 14:51:16 +08:00
2026-11-04 16:47:45 +08:00
2026-11-13 23:42:57 +08:00
2026-11-11 14:08:18 +08:00
2026-11-06 06:30:23 +08:00
2026-11-01 15:16:00 +08:00
2026-10-13 16:11:42 +08:00
2026-11-06 12:09:21 +08:00
2026-10-11 23:37:34 +08:00
2026-11-11 09:04:52 +08:00
2026-11-04 16:47:45 +08:00
2026-11-06 06:30:23 +08:00
2026-11-13 23:42:57 +08:00
2026-10-12 23:12:20 +08:00
2026-11-13 05:12:30 +08:00
2026-10-22 02:25:34 +08:00
2026-10-22 02:25:34 +08:00
2026-10-17 23:11:00 +08:00
2026-11-10 14:27:21 +08:00
2026-11-01 13:32:30 +08:00
2026-11-07 15:27:29 +08:00
provider: Workers AI's decision models (Jev, Clef) are tested from their right-click as System One's are (ARNO on Discord: cloudflare-jev provider模型无法右击测试) — a model test of a cloudflare-jev provider said its models couldn't be tested, since the test sent System One's question as it is and Workers AI wants it wrapped. DecideAsk and DecideAnswer move from the gateway to the provider package, and AskSystemOne (which TestModels uses) now wraps the question for the provider's API and reads the answer out of Cloudflare's envelope, as routing's own decisions do: Jev is asked {model, input}, a Clef at /run/@cf/cloudflare/<clef> with its own model selector. TestCloudflareDecideModelsTested (an httptest Workers AI: both models pass, the bodies are each one's, a refused key fails) fails on the old code; TestModelTest's cf case now expects testable. go vet, builds (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui -count=1 ./... under a temp HOME pass (TestProvidersAnswerWhileListsComeIn flaked once, passes alone).
2026-10-04 22:22:23 +08:00
2026-10-10 21:49:14 +08:00
2026-11-06 19:50:18 +08:00
2026-11-07 15:27:29 +08:00
2026-10-05 21:56:59 +08:00
provider: a held All gives each caller its own providers, Keys and Headers included — 463462cd held All for a request and gave callers a slices.Clone of it, which shares each provider's slices and maps: SetKeyOn, RemoveKey and RenameKey change p.Keys[i] of what Find returns, so a key switched while a GUI GET or Codex's /models held the list changed every other caller's copy before it was saved. All now clones each provider (Was, Keys, Fallback, Models, Headers, AccountProxies, AccountModels, AccountCaps, Contexts, MaxConcurrency, ZhipuTeam; Account, the sign-in's runtime, stays shared). TestHeldAllUnshared.
2026-10-04 12:15:40 +08:00
2026-10-20 00:18:51 +08:00
2026-11-10 09:49:30 +08:00
2026-11-10 09:49:30 +08:00
2026-11-13 05:12:30 +08:00
2026-11-11 17:12:44 +08:00
2026-11-11 17:12:44 +08:00
2026-11-13 20:12:28 +08:00
2026-11-05 07:51:09 +08:00
2026-10-30 21:01:09 +08:00
2026-11-03 15:46:42 +08:00
2026-11-15 06:06:25 +08:00
2026-11-13 16:01:06 +08:00
2026-11-13 20:12:28 +08:00
2026-10-30 13:42:48 +08:00
2026-10-14 16:37:59 +08:00
2026-11-13 02:00:40 +08:00
2026-10-05 00:31:19 +08:00
2026-11-11 20:57:11 +08:00
2026-11-01 21:19:22 +08:00
2026-11-01 09:08:07 +08:00
2026-11-13 23:42:57 +08:00
2026-11-09 12:56:42 +08:00
2026-11-09 12:56:42 +08:00
2026-11-03 09:54:05 +08:00
2026-11-06 19:50:18 +08:00
2026-11-05 18:31:22 +08:00
2026-10-27 14:28:01 +08:00
2026-11-02 20:04:32 +08:00
2026-11-10 12:54:39 +08:00
2026-11-07 21:59:07 +08:00
2026-11-07 21:59:07 +08:00
2026-11-01 18:35:15 +08:00
2026-10-31 19:26:55 +08:00
2026-11-04 14:38:48 +08:00
2026-10-29 18:20:50 +08:00
2026-11-15 06:06:25 +08:00
2026-10-10 22:36:28 +08:00
2026-10-31 19:42:52 +08:00
2026-10-31 19:42:52 +08:00
2026-10-31 19:42:52 +08:00
2026-10-13 06:18:27 +08:00
2026-10-13 06:18:27 +08:00
2026-11-10 08:13:08 +08:00
2026-11-15 07:39:25 +08:00
2026-10-16 03:46:15 +08:00
2026-11-15 13:28:34 +08:00
2026-11-15 13:28:34 +08:00
2026-11-09 18:13:08 +08:00
2026-10-20 22:17:55 +08:00
2026-10-20 22:17:55 +08:00
2026-10-24 14:37:39 +08:00
2026-10-07 03:00:47 +08:00
2026-11-13 05:12:30 +08:00
2026-11-10 12:54:39 +08:00
2026-10-29 16:11:26 +08:00
2026-11-11 13:26:49 +08:00
2026-11-11 13:26:49 +08:00
2026-11-11 08:18:24 +08:00
2026-10-30 02:28:10 +08:00
2026-11-08 14:37:31 +08:00
2026-10-14 14:47:35 +08:00
2026-11-15 13:56:58 +08:00
2026-11-15 13:56:58 +08:00
2026-11-02 21:52:57 +08:00
2026-11-07 06:39:39 +08:00
2026-11-01 04:51:55 +08:00
2026-11-07 21:59:07 +08:00
2026-11-13 02:00:40 +08:00
2026-11-07 21:59:07 +08:00
2026-10-29 16:11:26 +08:00
2026-11-13 05:12:30 +08:00
2026-10-28 05:02:12 +08:00
2026-10-30 01:40:48 +08:00
2026-11-10 08:12:56 +08:00
2026-10-31 18:18:37 +08:00
2026-10-25 01:49:13 +08:00
2026-10-16 03:27:22 +08:00
2026-11-09 19:07:06 +08:00
2026-11-01 06:46:50 +08:00
2026-11-03 23:12:33 +08:00
accounts: the account made first stays first — magpie signs Codex or Claude Code back in to it once it has room again ( #408 : 智能路由会自动把所使用账号设为首选) — since #208/#209 magpie signs the agent in to the next ticked account once the one it is on is 98% used, and left it there for good, so the account the user made first lost its place after its first spent window. magpie now keeps the account it moved off (login-returns.json beside logins.json) and signs the agent back in to it once that is below 90% (Smart's low share, so it doesn't flap) and still ticked; a switch the user makes meanwhile, in magpie or the agent, ends that. The Accounts list says it: the stand-in reads "First for now" (暂为首选), its title naming the one it goes back to, and that one "First again once it has room" (额度恢复后切回首选); the Routing note says magpie moves back. TestCodexSwitchedBackWhenItHasRoom and account-return.test.cjs fail without the change. go vet, go build -tags nogui (darwin, GOOS=linux), GOOS=windows go build, go test -tags nogui ./... pass; account-return, click-scroll, old-webkit, routing-signin pass.
2026-10-01 17:16:47 +08:00
routing: In order keeps sending to the first account until it is used up or refused, and a tick keeps Codex or Claude Code signed in to the first account ( #530 : an account In order at 98% of its week, its five hours untouched, stopped getting requests; #524 : "不允许切换首选账号的登录状态", the agent's own sign-in must stay on the account made first while the gateway still spreads requests) — since #209 magpie signs Codex and Claude Code in to the next ticked account with room once the one they are on reaches 98% (provider.SpentShare, the share Smart counts an account spent at), and since #408 back once the first is under 90%. The account the agent is signed in to is the one every routing tries first (the others stand behind it, AlsoOn), so In order the 98% switch put the second account ahead of the first, which is what #530 saw as the first being dropped; and the gateway counted an account at 98% as full whatever the routing, so a passing failure on it (a 502) rested it until its week renewed (39 hours there), not for the usual backoff. Now SpentShareOf gives 100 In order and 98 otherwise: the login switch moves the agent off an account In order only once a window of it is used up, the gateway's full (the rest after a failure, the quota rest's window) and affinity's "spent" go by the same share, and a vendor's 429 or usage-limit refusal still rests the account until it says it's back, as Smart does; a window used up is out, as before. Smart, In turn and Least used are unchanged. For #524 , the subscription keeps KeepLogin (providers.json, beside Routing, kept across an editor Save; POST provider/keeplogin, only for Codex and Claude Code): with it on, magpie never moves the agent off the account it is signed in to, however used up, while the gateway still routes requests through magpie to the other ticked accounts; a pending return to the first ( #408 ) still happens, that being the first. The tick sits at the foot of the Accounts list, under the rows where Make first is, shown only for Codex and Claude Code with more than one account on: "Keep {agent} signed in to the first account" / "{agent} 始终登录首选账号", its tooltip saying requests through magpie still go to the other ticked accounts. The Routing note follows it: kept, it says the agent stays signed in to the first whatever it has left; In order, that magpie moves it on once it is used up; otherwise the 98% wording as before. TestCodexLoginOrderedAndKept (In order stays at 98% and moves at 100%, back once renewed; Smart moves at 98%; kept, it stays at 100% and the setting survives a SetRouting; let go, it moves) and TestOrderedKeepsAnAccountAt98 (In order an account at 98% isn't full and a 502 rests it by backoff, Smart rests it to its week, a refusal rests it either way) fail without the change. keep-login.test.cjs (en and zh, Chromium and WebKit: the tick, its tooltip and Chinese strings, the post, the note when kept and In order, no tick with one account, the page doesn't move) fails without the UI and passes with it (12/12, Playwright 1.61); account-return, routing-account-order and account-arrange pass; click-scroll fails in Chromium here on origin/main too and passes in WebKit. No request was made to any vendor and no live agent config was touched. go vet ./internal/..., go build -tags nogui (darwin, GOOS=linux), GOOS=windows go build, go test -tags nogui ./... pass (TestClaudeRunEndsWhenTheClientLeaves, TestClaudeAccountNamedAsItsLogin and TestClaudeIdentityServedWhileAsked failed once under the full run and pass alone). Turned on after magpie has moved the agent off the first, it goes back to it at once rather than once that has room again.
2026-10-02 15:48:16 +08:00
2026-11-03 16:34:30 +08:00
2026-11-15 06:06:25 +08:00
2026-11-13 04:22:45 +08:00
2026-11-13 12:53:04 +08:00
2026-11-02 20:04:32 +08:00
2026-11-02 20:04:32 +08:00
2026-11-15 06:06:25 +08:00
2026-10-24 22:22:21 +08:00
2026-11-14 14:02:49 +08:00
2026-11-10 03:10:48 +08:00
2026-10-17 16:37:09 +08:00
2026-11-10 04:23:37 +08:00
2026-10-09 23:16:53 +08:00
2026-10-19 18:02:56 +08:00
2026-10-24 21:00:05 +08:00
2026-11-01 18:48:13 +08:00
2026-10-17 23:11:01 +08:00
2026-11-01 18:48:13 +08:00
2026-11-04 16:17:47 +08:00
2026-11-12 23:01:29 +08:00
2026-11-01 07:39:08 +08:00
2026-11-11 14:28:17 +08:00
2026-11-13 05:12:30 +08:00
2026-11-08 11:28:54 +08:00
2026-11-08 11:28:54 +08:00
2026-11-03 16:43:12 +08:00
2026-11-09 18:19:02 +08:00
provider: Copilot's Auto pick is served to a Student plan, its session read as VS Code's is (infinitr0us, #256 ) — /auto picked gpt-5.6-luna and Copilot refused magpie the request (The requested model is not supported.) while VS Code 1.140's Copilot Chat 0.68 was served it on the same account. magpie sent Auto's Copilot-Session-Token with no X-GitHub-Api-Version, which Copilot Chat sends on every request (2026-01-09), and Copilot reads the session only with one: without it the request is a model picked by hand, which the plan is refused for the pick. The editors' sign-in now sends Copilot's API that version and Copilot Chat 0.68 / VS Code 1.140.0 as its client (copilotAPIHeaders; GitHub's own API keeps no version); /models/session's 2025-10-01 is set after them. Copilot then holds the session to its pick (Requested model not available for session for another model, or a session let go): such a session is let go and the request sent with one asked anew, not noted as a refusal. With the owner's real Copilot account (Individual): without the version, the session token was ignored (any model served with it); with it, /auto's gpt-6-luna was served on /responses with its session through ResolveAuto and Sign, and another model with that session answered 400 not available for session; claude-haiku-4.5 on chat and messages, gpt-4.1 streamed, gemini-3.8-flash and gpt-5.4-mini on responses answered 200 with the new headers, and /models lists the same models. TestCopilotAutoPickServed fails on the old code (served gpt-4.1, the fallback). go vet, builds (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui -count=1 ./... under a temp HOME pass.
2026-10-05 07:55:27 +08:00
gateway, copilot: Auto's pick is asked as Copilot Chat asks it, and a refused pick is made again on its own API (infinitr0us, #256 ) — on a Student plan copilot/auto's pick from POST /models/session (gpt-5.4-mini, gpt-5.3-codex) was refused 400 "The requested model is not supported.", and the retry with the next pick, gpt-4.1, went to the same /responses and got "model gpt-4.1 is not supported via Responses API." (1) Copilot Chat 0.69 (now in microsoft/vscode extensions/copilot, automodeService.ts / AutoV2Fetcher) no longer asks /models/session: it POSTs {capiBase}/auto with the prompt at X-GitHub-Api-Version 2026-08-01 and gets session_token, expires_at and selected_model with its supported_endpoints; /models/session answers a fixed, stale list (asked with the owner's account it still offers gpt-5.3-codex/gpt-5.4-mini while /auto picks gpt-6-luna). magpie now asks /auto first, with the last user message as the prompt, takes the pick's endpoints for its API, keeps the session at most an hour, and falls back to /models/session and then the hand-picked model as before. (2) After a refusal the retry with Auto's next pick breaks out of forward's same-API loop when that model isn't served on it, and the candidates' loop makes the request again (at most twice) on the new model's own API; a held refusal is passed on only when no retry is left. TestCopilotAutoRepickTakesItsAPI (gpt-5.3-codex refused on /responses, gpt-4.1 refused there and served on chat) fails on the old code with infinitr0us's exact error; TestCopilotAutoAsksAuto (version, prompt, token, /models/session not asked) fails with a 502. With the owner's real Copilot account in a sandbox gateway, copilot/auto on /v1/chat/completions came back 200 from gpt-6-luna, picked by /auto and sent on /responses. go vet, builds (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui -count=1 ./... under a temp HOME pass.
2026-10-05 04:07:20 +08:00
2026-11-14 19:09:35 +08:00
2026-11-07 04:03:00 +08:00
2026-10-31 21:29:22 +08:00
2026-11-15 06:20:15 +08:00
2026-10-07 07:08:17 +08:00
2026-10-08 07:27:03 +08:00
2026-10-08 07:27:03 +08:00
2026-11-10 12:54:39 +08:00
2026-10-08 07:27:03 +08:00
2026-10-12 22:16:17 +08:00
2026-10-12 22:16:17 +08:00
2026-11-12 14:17:12 +08:00
2026-11-14 03:37:38 +08:00
2026-11-10 22:19:31 +08:00
gateway, copilot: Auto's pick is asked as Copilot Chat asks it, and a refused pick is made again on its own API (infinitr0us, #256 ) — on a Student plan copilot/auto's pick from POST /models/session (gpt-5.4-mini, gpt-5.3-codex) was refused 400 "The requested model is not supported.", and the retry with the next pick, gpt-4.1, went to the same /responses and got "model gpt-4.1 is not supported via Responses API." (1) Copilot Chat 0.69 (now in microsoft/vscode extensions/copilot, automodeService.ts / AutoV2Fetcher) no longer asks /models/session: it POSTs {capiBase}/auto with the prompt at X-GitHub-Api-Version 2026-08-01 and gets session_token, expires_at and selected_model with its supported_endpoints; /models/session answers a fixed, stale list (asked with the owner's account it still offers gpt-5.3-codex/gpt-5.4-mini while /auto picks gpt-6-luna). magpie now asks /auto first, with the last user message as the prompt, takes the pick's endpoints for its API, keeps the session at most an hour, and falls back to /models/session and then the hand-picked model as before. (2) After a refusal the retry with Auto's next pick breaks out of forward's same-API loop when that model isn't served on it, and the candidates' loop makes the request again (at most twice) on the new model's own API; a held refusal is passed on only when no retry is left. TestCopilotAutoRepickTakesItsAPI (gpt-5.3-codex refused on /responses, gpt-4.1 refused there and served on chat) fails on the old code with infinitr0us's exact error; TestCopilotAutoAsksAuto (version, prompt, token, /models/session not asked) fails with a 502. With the owner's real Copilot account in a sandbox gateway, copilot/auto on /v1/chat/completions came back 200 from gpt-6-luna, picked by /auto and sent on /responses. go vet, builds (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui -count=1 ./... under a temp HOME pass.
2026-10-05 04:07:20 +08:00
2026-11-10 12:54:39 +08:00
2026-10-14 09:29:59 +08:00
2026-11-06 19:50:18 +08:00
2026-10-08 11:17:39 +08:00
2026-10-07 07:08:17 +08:00
2026-11-15 06:20:15 +08:00
2026-10-09 23:25:04 +08:00
2026-11-15 12:14:48 +08:00
2026-10-15 23:08:04 +08:00
2026-10-15 23:08:04 +08:00
2026-11-07 08:07:58 +08:00
2026-10-27 11:27:43 +08:00
2026-10-27 11:27:43 +08:00
2026-11-10 12:54:39 +08:00
2026-11-10 18:07:27 +08:00
2026-11-10 12:54:39 +08:00
2026-10-17 23:11:00 +08:00
2026-11-04 22:45:40 +08:00
2026-10-11 03:28:48 +08:00
2026-10-27 14:57:16 +08:00
2026-11-10 12:54:39 +08:00
2026-11-09 13:05:00 +08:00
2026-10-05 17:38:03 +08:00
2026-11-01 01:55:09 +08:00
provider: a decision model has its window and whether it takes images, and the Gateway list shows them with a tooltip saying what it is (ARNO on Discord: decision模型也是需要拉取正确的上下文长度以及是否支持视觉功能的,在网关的模型列表里也应该显示这些信息以及相关的tooltip) — a decision provider's list (OpenRouter's output_modalities=decisions, Vercel's) is now read for its context_length / context_window and its input modalities; a model the list says nothing of (TypeSafe's, OpenCode Zen's, Workers AI's and Bailian's presets) takes its vendor's documented values: Jev 32,000 and text, Clef and Clef Flash 65,536 and images, Bailian's decision-model-preview 65,536 and text. A gateway's Jev among its chat models has them too; its chat models are left as they were. The Gateway list's row of a decision model shows its context and image chips as other models' do, and its tooltip begins Decision model: routing groups ask it, agents never see it (zh, ja, de) in place of Reasoning levels: none known. /v1/models still leaves decision models out: agents can't use them. TestDecideModelsKnowWindowAndImages and gateway-decide-info.test.cjs (WebKit, en and zh) fail on the old code; gateway-model-info passes on WebKit. go vet, builds (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui -count=1 ./... under a temp HOME pass (TestClientGoneRecordedAsCanceled, TestProvidersAnswerWhileListsComeIn and TestClaudeSignedOut flaked under load, pass alone).
2026-10-05 01:20:06 +08:00
2026-10-11 01:37:18 +08:00
2026-10-20 00:18:51 +08:00
system one: a decision provider's own models-list URL is asked as given, and its models can each be tested (Discord, ARNO: OpenRouter added as a System One provider with the list https://openrouter.ai/api/v1/models?limit=500&output_modalities=decisions didn't get its models, and a model typed in by hand couldn't be tested from its right-click) — a System One-only provider went to fetchDecide before its ModelsURL was read, so magpie asked …/models, which at OpenRouter lists the 466 chat models, and kept only Jev's ids of those: typesafe/jev-router alone. With a ModelsURL, fetchDecide now asks it as written, query included, and keeps every id in it, since that list is of decision models already (OpenRouter's answers 13: pplx-decider, liquid/d1, cloudflare/clef, respan/span-01, typesafe/jev-1.13 …). Without one nothing changes, Bailian included. Testing a decision model was refused outright (the chip's Test this model off, Test models leaving them out); where the API takes System One's own body (System One, TypeSafe, OpenRouter, Vercel's TypeSafe API) each model is now sent AskSystemOne's yes-or-no question, the one Detect already asks, and the editor offers Test for it (providerJSON.decideTest); Vercel's evaluation models and Workers AI, which wrap it their own way, still say why not. TestDecideModelsURLAndModelTest (a fake OpenRouter: the plain list, the decisions list, a hand-added model through /systemone, an unknown one failing) and TestModelTest's Workers AI case fail on the old code; model-test-why.test.cjs gains a hand-added System One model tested from its chip and Test models, and a Workers AI one still off (WebKit en and zh pass, with model-test-one and model-copy-id; Chromium doesn't launch in this sandbox). OpenRouter's live decisions list returns the 13 models. Not tried with an OpenRouter key: the /systemone question itself. go vet, builds (darwin, GOOS=linux, GOOS=windows) and go test -tags nogui -count=1 ./... under a temp HOME pass.
2026-10-04 18:40:13 +08:00
2026-10-31 14:51:11 +08:00
2026-10-15 02:00:44 +08:00
2026-11-15 02:19:18 +08:00
2026-10-28 15:46:26 +08:00
provider: Workers AI's decision models (Jev, Clef) are tested from their right-click as System One's are (ARNO on Discord: cloudflare-jev provider模型无法右击测试) — a model test of a cloudflare-jev provider said its models couldn't be tested, since the test sent System One's question as it is and Workers AI wants it wrapped. DecideAsk and DecideAnswer move from the gateway to the provider package, and AskSystemOne (which TestModels uses) now wraps the question for the provider's API and reads the answer out of Cloudflare's envelope, as routing's own decisions do: Jev is asked {model, input}, a Clef at /run/@cf/cloudflare/<clef> with its own model selector. TestCloudflareDecideModelsTested (an httptest Workers AI: both models pass, the bodies are each one's, a refused key fails) fails on the old code; TestModelTest's cf case now expects testable. go vet, builds (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui -count=1 ./... under a temp HOME pass (TestProvidersAnswerWhileListsComeIn flaked once, passes alone).
2026-10-04 22:22:23 +08:00
2026-11-13 05:12:30 +08:00
2026-10-15 03:34:59 +08:00
2026-11-10 11:05:59 +08:00
2026-11-08 11:28:54 +08:00
2026-11-12 19:48:02 +08:00
2026-10-17 23:11:01 +08:00
2026-10-07 03:00:47 +08:00
2026-10-17 23:11:01 +08:00
2026-10-17 23:11:01 +08:00
2026-11-14 12:25:28 +08:00
2026-11-13 12:26:43 +08:00
2026-11-14 12:25:28 +08:00
2026-10-13 05:34:13 +08:00
2026-10-19 03:19:13 +08:00
2026-10-17 23:11:00 +08:00
2026-10-29 16:50:17 +08:00
2026-10-17 23:11:01 +08:00
2026-11-04 14:28:02 +08:00
2026-11-10 11:05:59 +08:00
2026-11-15 12:14:48 +08:00
2026-10-14 07:51:41 +08:00
2026-10-21 07:32:11 +08:00
2026-10-14 16:11:58 +08:00
2026-11-15 12:14:48 +08:00
2026-10-30 22:48:39 +08:00
2026-11-15 19:06:45 +08:00
2026-10-17 23:11:00 +08:00
2026-11-10 12:54:39 +08:00
2026-10-14 15:17:06 +08:00
2026-11-02 05:38:10 +08:00
2026-10-17 23:11:00 +08:00
2026-10-12 19:02:25 +08:00
2026-10-16 19:14:52 +08:00
2026-11-15 19:06:45 +08:00
2026-10-31 19:54:28 +08:00
2026-11-10 12:54:39 +08:00
2026-10-17 23:11:00 +08:00
2026-10-17 23:11:00 +08:00
2026-10-17 23:11:01 +08:00
2026-11-15 12:14:48 +08:00
2026-11-10 22:26:38 +08:00
2026-11-15 12:14:48 +08:00
2026-11-12 11:38:52 +08:00
2026-10-09 14:08:07 +08:00
2026-10-09 14:08:07 +08:00
2026-10-26 23:27:55 +08:00
2026-11-12 01:56:26 +08:00
2026-10-10 10:22:59 +08:00
2026-11-11 20:10:42 +08:00
2026-11-15 12:14:48 +08:00
2026-11-11 20:10:42 +08:00
2026-10-20 20:08:25 +08:00
2026-11-04 17:11:55 +08:00
2026-11-13 15:59:26 +08:00
2026-11-13 18:50:25 +08:00
2026-11-15 01:25:49 +08:00
2026-11-11 16:42:53 +08:00
2026-11-15 12:14:48 +08:00
2026-10-27 15:21:10 +08:00
2026-11-15 12:14:48 +08:00
2026-11-15 12:14:48 +08:00
2026-11-11 08:31:55 +08:00
2026-10-17 23:11:01 +08:00
2026-10-17 23:11:01 +08:00
2026-11-10 12:54:39 +08:00
2026-11-13 21:44:24 +08:00
2026-11-01 06:21:39 +08:00
2026-10-17 23:11:01 +08:00
2026-11-11 19:42:17 +08:00
2026-11-06 19:07:15 +08:00
2026-10-10 19:46:58 +08:00
2026-11-08 02:08:30 +08:00
2026-11-09 23:08:13 +08:00
2026-11-01 08:29:21 +08:00
2026-11-04 23:28:23 +08:00
2026-10-27 01:55:25 +08:00
2026-11-04 03:56:38 +08:00
2026-11-06 10:44:24 +08:00
2026-11-10 03:48:24 +08:00
2026-11-10 17:56:42 +08:00
2026-10-20 00:18:51 +08:00
2026-10-04 19:27:51 +08:00
2026-11-13 12:53:04 +08:00
2026-11-13 05:12:30 +08:00
2026-10-19 15:19:31 +08:00
2026-10-11 21:24:10 +08:00
2026-11-12 01:56:26 +08:00
2026-11-13 05:12:30 +08:00
2026-11-10 02:29:21 +08:00
2026-11-15 09:38:24 +08:00
2026-11-12 01:56:26 +08:00
2026-10-28 18:52:39 +08:00
2026-11-10 08:38:12 +08:00
2026-11-07 20:19:50 +08:00
2026-11-07 20:19:50 +08:00
2026-11-15 19:06:45 +08:00
2026-11-12 01:56:26 +08:00
2026-10-20 00:18:51 +08:00
2026-10-20 00:18:51 +08:00
groups: a routing group's own id keeps a model's dots ( #968 ) — a group named GPT 6.1 Sol was group/gpt-6-1-sol, so a harness pricing or tuning by the model's name didn't know it (dbydd). provider.GroupSlug is Slug with the dots kept (a run of them one, none at the ends); SaveGroup, RenameGroup, the backup's import and export, the GUI's save and rename, the CLI's group add and edit, and the Routing editor (groupSlug) derive and check a group's id by it. The ids magpie finds stay Slug's (auto-gpt-6-1-sol), so no id saved before changes, and an agent sending the bare name gpt-6.1-sol reaches a group of that id first (GroupFor). groupid_test (ids, save, rename, bad ids, found ids unchanged) and gateway's TestDottedGroupID (group/gpt-6.1-sol and the bare name served, falling through as the group's order says; -race -count=5) pass and fail without the fix; group-id-dots (hint and Add's body, groupSlug cases) passes in Chromium and WebKit, en and zh, and fails without it. The other group-* GUI tests, agent-model-groups and i18n-keys pass, except group-arrange, whose Chromium cases fail the same on origin/main (mouse.move: Invalid parameters at line 165). go test . provider/gui/gateway/agent/tui, vet, linux/windows builds pass.
2026-10-06 12:32:16 +08:00
2026-10-14 18:14:17 +08:00
2026-11-09 20:06:22 +08:00
2026-11-09 20:06:22 +08:00
2026-10-16 20:03:29 +08:00
2026-10-09 11:10:12 +08:00
2026-10-15 23:08:02 +08:00
2026-11-10 01:08:04 +08:00
2026-11-13 05:12:30 +08:00
2026-10-25 13:32:12 +08:00
2026-11-13 05:12:30 +08:00
2026-11-10 22:57:20 +08:00
2026-10-17 10:04:39 +08:00
2026-10-25 18:18:02 +08:00
2026-11-10 22:57:20 +08:00
2026-11-11 17:53:05 +08:00
2026-10-31 00:57:21 +08:00
gui, provider, gateway: a group's models are dragged into order, a group can be switched off, several models are added at once, and a page shows a scrollbar on the Mac (PAMI on Discord) — in a group's editor a model went up one step a click and only up; its number is now a handle (grip on hover) that drags it, Alt+↑/↓ moves it from the keyboard, and Up and Down stay beside it; a pattern's members follow the named ones. A group of the user's has a switch on its card: off, agents aren't offered it, a request to it is turned away with 404 "the routing group … is switched off", a group that has it in it goes on to its next member, a save from the editor leaves it off, and one that classifies for another can't be switched off (a found group is removed instead, as before). Each member already had its own switch. The editor's Add a model picker stays open: each model clicked is added and ticked, clicked again taken out, and each says the other groups it is in. Pages, dialogs and framed editors had their scrollbar hidden everywhere (width 0); on the Mac they now have a thin 8px thumb, elsewhere the 10px one other lists have. TestSwitchGroup, TestSwitchedOffGroup, group-member-drag, group-switch-add-many and view-scrollbar (WebKit, en and zh) fail without the change. go vet, go build (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui ./... under a temp HOME pass (TestProvidersAnswerWhileListsComeIn is flaky on origin/main as well).
2026-10-05 16:46:59 +08:00
2026-11-13 05:12:30 +08:00
2026-11-13 05:12:30 +08:00
2026-10-13 13:10:30 +08:00
2026-10-13 13:10:30 +08:00
2026-11-15 01:32:07 +08:00
2026-11-15 01:32:07 +08:00
2026-11-11 14:13:01 +08:00
2026-11-10 02:16:41 +08:00
2026-11-04 17:06:31 +08:00
2026-11-11 14:43:25 +08:00
2026-10-14 15:30:43 +08:00
2026-11-13 18:59:59 +08:00
2026-11-06 15:24:18 +08:00
2026-11-13 00:11:37 +08:00
2026-10-11 01:28:22 +08:00
2026-10-26 17:05:16 +08:00
2026-10-26 17:05:16 +08:00
2026-11-08 22:55:09 +08:00
2026-11-10 12:54:39 +08:00
2026-11-06 08:01:14 +08:00
2026-11-11 21:59:36 +08:00
2026-11-13 12:38:22 +08:00
2026-10-13 16:00:31 +08:00
2026-10-10 22:36:28 +08:00
2026-10-28 16:59:10 +08:00
2026-10-28 03:10:46 +08:00
2026-11-12 01:20:52 +08:00
2026-10-05 11:28:51 +08:00
2026-10-10 23:17:22 +08:00
2026-10-17 11:54:55 +08:00
2026-11-10 02:23:23 +08:00
2026-11-13 12:18:23 +08:00
2026-11-13 12:18:23 +08:00
2026-11-08 18:37:41 +08:00
2026-11-13 12:18:23 +08:00
2026-10-15 23:08:05 +08:00
2026-11-13 14:30:19 +08:00
2026-10-19 00:19:53 +08:00
2026-10-08 08:58:15 +08:00
2026-11-15 14:52:48 +08:00
2026-11-04 17:06:31 +08:00
2026-11-15 07:39:25 +08:00
2026-11-04 21:21:32 +08:00
2026-11-10 12:54:39 +08:00
2026-11-06 18:48:50 +08:00
2026-10-30 02:09:54 +08:00
2026-11-10 09:49:30 +08:00
2026-11-01 07:06:19 +08:00
2026-11-14 15:46:34 +08:00
2026-11-13 12:18:23 +08:00
2026-11-13 12:18:23 +08:00
2026-11-09 04:06:39 +08:00
2026-11-05 00:11:02 +08:00
2026-11-02 14:30:45 +08:00
2026-11-05 00:11:02 +08:00
2026-11-05 11:46:26 +08:00
2026-10-26 20:37:07 +08:00
2026-11-06 10:17:08 +08:00
2026-10-16 06:32:41 +08:00
2026-11-13 16:31:24 +08:00
2026-11-13 16:31:24 +08:00
2026-10-13 07:30:06 +08:00
2026-11-12 18:31:50 +08:00
2026-11-12 18:31:50 +08:00
2026-10-16 00:16:43 +08:00
2026-11-14 16:34:10 +08:00
2026-10-05 21:44:15 +08:00
2026-11-04 21:21:32 +08:00
2026-10-16 08:43:02 +08:00
2026-11-14 16:34:10 +08:00
2026-10-13 13:42:56 +08:00
2026-11-06 19:50:18 +08:00
2026-11-01 11:19:26 +08:00
2026-11-11 20:52:43 +08:00
2026-11-05 16:22:31 +08:00
2026-11-05 16:22:31 +08:00
2026-10-17 23:11:00 +08:00
2026-10-17 23:11:00 +08:00
2026-10-14 09:29:59 +08:00
2026-10-17 23:11:00 +08:00
2026-11-01 11:30:12 +08:00
2026-11-13 02:00:40 +08:00
2026-11-06 12:48:51 +08:00
2026-10-12 22:33:07 +08:00
2026-10-20 20:23:55 +08:00
2026-11-01 00:43:15 +08:00
gui: a provider's editor has a Max output beside its Context window, so a model whose reply limit magpie has wrong can be set right there (ARNO on Discord: 上下文长度有问题还可以手动覆盖,maxtoken错了如何解决呢) — the reply limits the user sets (ModelOutputs, "provider/model" or "provider/*") could only be set with magpie model output; the editor now shows them in a Max output box written as the Context window box is (32k for all its models, or gpt-6=128k, comma separated), and a Save sends them: the limits not in the box are dropped, a model the provider doesn't list is refused, and the catalog is touched so /v1/models, the agents' max tokens and the gateway's per-member clamp take the new limit. zh and ja strings added. TestModelOutputsSetFromTheEditor, TestProviderSaveOutputs and provider-max-output.test.cjs (WebKit, en and zh) fail on the old code. go vet, builds (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui -count=1 ./... under a temp HOME pass (TestClientGoneRecordedAsCanceled flaked once under load, passes alone).
2026-10-04 23:37:35 +08:00
2026-10-23 03:35:27 +08:00
2026-10-10 01:30:29 +08:00
2026-10-05 17:19:42 +08:00
2026-11-08 11:28:54 +08:00
2026-10-16 18:51:40 +08:00
2026-10-05 21:48:01 +08:00
2026-11-01 04:16:57 +08:00
2026-11-01 03:05:59 +08:00
2026-10-13 13:47:59 +08:00
2026-11-12 19:48:02 +08:00
2026-11-15 12:14:48 +08:00
2026-11-04 19:16:10 +08:00
2026-11-11 04:07:09 +08:00
2026-11-11 05:30:02 +08:00
2026-10-10 15:04:23 +08:00
2026-11-01 15:07:37 +08:00
2026-10-13 18:16:03 +08:00
2026-10-10 10:56:55 +08:00
2026-11-11 04:07:09 +08:00
2026-11-02 19:41:05 +08:00
2026-10-13 16:34:23 +08:00
2026-11-11 02:40:18 +08:00
2026-10-11 23:37:34 +08:00
2026-11-15 06:06:25 +08:00
2026-10-20 20:23:55 +08:00
2026-11-04 17:06:31 +08:00
gateway: a gateway key can be held to some accounts ( #905 , LCorleone) — a key could burn any account a provider had: two coding plans of one vendor, and a key given to someone had them both. A key now keeps an optional list of accounts and keys (caller-keys.json "accounts", none = every account, so older files read as before): "<provider>/<account>", an account by its stable id — the login's, set once it is written and kept through renames (logins.json's savedLogin id, written by every write and stood in for by one made of the name until then, so an entry made before stands), a key by its fingerprint — every one a provider has when the list is set, and one gone later (a key rotated, an account signed out) kept as it is, matching nothing, holding the key closer, never wider. The command line and the menu name an account by who is signed in and keep its id. Routing holds a plan to the key's accounts beside its models: a candidate whose account the key may not use is left out — through a routing group the key names no less, for naming a group is not naming its accounts — the plan's order keeping step and its left-out list marking what the key held out (Weighed's held); magpie's own calls for the key — a web search, a picture described, a Codex title — are of the models the user picked, so the models don't hold them, but their spend lands on an account all the same, and the accounts hold them too. When every account or key a model has is one the key may not use, the request is refused with a 403 in the API's own error shape naming the model and the accounts the key may use, logged as a rejected call: after a usage cap's 429 and before an account barred for the model's, itself before the no-member 404. /v1/models and the Anthropic and Gemini lists show the key only the models an account or key it may use serves (a provider's account set not to serve one, #474 , is none of the key's); a provider with no account and no key (a local ollama) is one the key names no account of — its models stay listed and its asks pass — while an entry kept after its provider lost its last account or key serves none, holding the key closer. The embeddings, images and videos endpoints hold their candidate to the key's accounts the same way, and counting tokens counts on those alone (the local estimate where it may use none). System One asks its decision model of an account or key the key may use — and sends on that key, of those in use, not the provider's first, which a key held to a later one was spent on; the videos and images keyed paths send on one the key may use too, held to a later key no longer refused for the first alone. Set it in the app's menu the models are picked in — the accounts after the models, an account by who is signed in with their plan in the note, a key by its fingerprint, what the CLI kept that no provider has now kept as "Not signed in now" — or magpie gateway-key accounts <id> codex/me@example.com openai/<key id> (all takes it off); gateway-key list has an ACCOUNTS column. en/zh/ja/de, the German "{n} accounts" main already had left to it rather than written twice. The images API's fan-out over a subscription's accounts is held to the key's accounts as one: one of the key's whose plan refuses to draw no longer hands the pen to an account it may not use, and the second in the order, when it is the key's, draws what the first may not (drawOnAccounts filters the candidates, the account pinned to with the account header told plainly when the key may not use it). The Routing view's left-out list says an account the key held out for what it is, not that its plan lacks the model, in Chinese, Japanese and German too; the key's badge names its accounts by who is signed in, not by the stable ids it keeps. ( #932 )
2026-10-06 10:51:50 +08:00
2026-10-08 08:23:20 +08:00
2026-11-12 17:27:33 +08:00
gui: a Usage card has a refresh of its own, left of its "Updated" time, that reads that card alone (Hu9956, #840 : 在更新时间左侧加一个刷新按钮,鼠标悬停在套餐卡片上时显示,可以单独刷新某个套餐的用量,不用刷新全部) — only the page's Refresh read the allowances again, every card at once. Each card now has a ↻ that opens left of "Updated 3 min ago" (or of a failed reading's reason, or under a balance) as the card is hovered; at rest the line starts where the card's others do. A click POSTs /api/usage/quotas/refresh?provider=&user=: provider.RefreshUsage reads that subscription account, plan key or balance key again (a Claude account by running Claude Code's own /usage, as the page's Refresh does) and puts it in place in the caches, the other cards not asked and kept as they were read; the button turns while it reads. zh, ja, de strings. TestRefreshOneCard (two keys of one relay and another provider: a refresh asks that key alone, the others keep their figures) and the plugin case in TestPluginUsage (one account of three read) fail on the old code; usage-card-refresh.test.cjs (WebKit, en and zh: aligned at rest, left of the time when hovered, a click reads that card alone, turns meanwhile, doesn't scroll; a failed card's own button) fails on the old code. usage-quota-head, usage-checkin, click-scroll, quota-read-at, balance-parts, claude-usage-asked, gui-ja and gui-de pass on WebKit. go vet, builds (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui -count=1 ./... under a temp HOME pass.
2026-10-05 08:59:47 +08:00
2026-11-10 09:49:30 +08:00
2026-11-01 13:32:30 +08:00
2026-10-06 00:37:50 +08:00
2026-11-13 02:00:40 +08:00
2026-11-15 12:14:48 +08:00
2026-11-15 12:14:48 +08:00
2026-11-14 13:08:40 +08:00
2026-11-02 13:44:11 +08:00
2026-11-10 02:10:10 +08:00
2026-10-30 15:42:29 +08:00
2026-11-01 04:53:36 +08:00
gateway, provider: a Claude model is asked on Anthropic's Messages where its provider has an Anthropic URL, not Chat ( #997 , wlj521: 自动好像只会走chat; ReturnTrue on Discord: a relay with an OpenAI and an Anthropic URL had 0% cache hits from Claude models until the OpenAI URL was left empty) — every API's order was Chat first. A request on an API the provider serves was already relayed as it is (a fake relay recording each path: Messages → /v1/messages, Responses → /v1/responses, Chat → /v1/chat/completions, for GLM, GPT and Claude alike, with one URL for three APIs and with an OpenAI URL plus an Anthropic one), but two places fell back to Chat for Claude: usable(), which a request on an API the provider lacks is translated to (Codex's Responses for a Claude model at a Chat+Anthropic relay went to /v1/chat/completions, losing the cache breakpoints the translation to Messages adds), and Provider.Native, the API Pi, omp and droid are wired to ask each model on (route.go's magpieModels), which named Chat for every Claude model at such a relay, so those agents spoke Chat and their cache_control never reached the relay. MessagesFirst (a Claude model by name, where the provider has an Anthropic URL) now puts Messages first in both, beside ResponsesFirst for OpenAI's models. A model the user set "Asked on" for, or one the vendor's list names its APIs for, is as before; GPT and other models keep Chat first; Copilot's Claude, which its list serves on Chat and Messages, is now native on Messages (TestNative updated), the API Claude Code already reaches it on. Not reproduced: a Claude Code /v1/messages request translated to Chat — with either relay layout, a list as new-api answers it, and a key per protocol, it went to /v1/messages with cache_control kept; ReturnTrue is asked for the request's Protocol row. TestClaudeGoesOnMessagesWhereTheRelayHasThem and TestNativeClaudeIsMessagesWhereServed fail without the change and pass; TestAutoRelaysOnTheClientsOwnAPI guards the pass-through for the three APIs; -race -count=5 on them. go test ./internal/gateway ./internal/provider ./internal/catalog ./internal/agent, go vet, darwin, linux (nogui) and windows builds pass. docs/subsystems/gateway-routing.md says the order.
2026-10-06 15:33:16 +08:00
2026-11-10 20:16:44 +08:00
2026-11-15 12:14:48 +08:00
2026-10-13 09:50:57 +08:00
2026-10-29 21:57:21 +08:00
2026-10-16 22:58:41 +08:00
2026-11-10 18:13:38 +08:00
2026-10-16 22:58:41 +08:00
2026-10-09 01:55:07 +08:00
2026-10-25 17:42:37 +08:00
2026-10-17 23:11:00 +08:00
2026-11-01 18:28:31 +08:00
2026-11-12 20:54:34 +08:00
2026-10-17 23:11:00 +08:00
2026-10-26 16:27:06 +08:00
2026-11-15 14:20:25 +08:00
2026-10-26 16:13:57 +08:00
2026-10-17 23:11:00 +08:00
2026-11-13 15:23:22 +08:00
2026-11-14 18:55:44 +08:00
2026-11-05 01:00:28 +08:00
2026-11-15 12:14:48 +08:00
2026-10-17 23:11:00 +08:00
provider: MiniMax Code's international site is checked in daily too (ARNO on Discord: MiniMax Code 国际版能否也自动签到) — v0.1.910's check-in asked only agent.minimax.cn, for the plugin's minimax-code accounts, since the international site's wasn't known. It is the same: agent.minimax.io's page has the Daily check-in panel (signin.menu_label in its bundle), and its /minimax-cloud/api/v1/signin/status and /claim answer as the China site's do — {"error":"invalid signature"} unsigned, 401 signed with MiniMax Code's page secret and no sign-in, where a path that isn't there is a 404 page. The check-in now takes the accounts of both of the plugin's providers, minimax-code and minimax-code-global, each asked at its own site through the plugin's fetch, and keeps each apart in minimax-checkin.json (site|uid), its result shown on that site's card. TestMiniMaxGlobalCheckin (a global account claimed at its site, a China one with the same uid asked only at the China site, keys apart) fails on the old code; TestMiniMaxCheckin and TestMiniMaxClaimAlready pass. Not tried with a real international account (none here). go vet, builds (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui -count=1 ./... under a temp HOME pass.
2026-10-05 04:03:15 +08:00
2026-11-14 14:02:49 +08:00
2026-11-03 16:34:30 +08:00
2026-11-06 13:52:28 +08:00
2026-11-06 13:52:28 +08:00
2026-10-13 16:34:59 +08:00
2026-11-11 08:31:55 +08:00
2026-10-13 16:34:59 +08:00
2026-11-08 11:28:54 +08:00
2026-11-08 11:28:54 +08:00
2026-11-15 12:14:48 +08:00
2026-11-01 04:05:38 +08:00
2026-11-01 07:21:07 +08:00
2026-11-14 14:02:49 +08:00
2026-11-03 18:34:19 +08:00
2026-10-12 19:14:54 +08:00
2026-11-08 11:28:54 +08:00
2026-11-08 11:28:54 +08:00
2026-11-15 12:14:48 +08:00
2026-11-14 14:02:49 +08:00
2026-10-11 20:09:14 +08:00
2026-10-17 23:11:00 +08:00
2026-11-15 09:02:39 +08:00
2026-11-15 22:17:30 +08:00
2026-11-13 05:12:30 +08:00
2026-10-24 05:31:59 +08:00
2026-11-13 16:10:47 +08:00
2026-11-10 07:25:54 +08:00
2026-11-12 01:56:26 +08:00
2026-11-12 01:56:26 +08:00
2026-11-08 02:08:08 +08:00
2026-10-28 07:10:09 +08:00
2026-10-28 07:10:09 +08:00
2026-11-15 02:19:18 +08:00
2026-11-15 11:50:15 +08:00
2026-10-15 05:20:17 +08:00
2026-10-15 05:20:17 +08:00
2026-11-13 05:12:30 +08:00
2026-10-31 10:08:40 +08:00
2026-10-12 23:45:06 +08:00
2026-11-01 04:49:32 +08:00
2026-09-27 08:39:08 +08:00
2026-11-10 07:18:50 +08:00
2026-10-14 04:40:21 +08:00
2026-11-05 16:22:31 +08:00
2026-11-02 14:30:45 +08:00
2026-11-13 16:56:19 +08:00
2026-11-13 16:56:19 +08:00
2026-11-12 22:27:39 +08:00
2026-11-12 22:27:39 +08:00
2026-10-20 01:25:47 +08:00
2026-10-20 01:25:47 +08:00
2026-10-13 13:03:26 +08:00
2026-10-13 13:03:26 +08:00
2026-10-12 00:37:27 +08:00
2026-10-12 00:37:27 +08:00
2026-11-01 05:42:21 +08:00
2026-10-19 13:42:21 +08:00
2026-11-05 18:31:16 +08:00
2026-11-01 14:48:19 +08:00
2026-11-10 12:54:39 +08:00
2026-11-11 23:09:15 +08:00
2026-11-11 23:09:15 +08:00
2026-11-02 17:08:45 +08:00
2026-11-02 17:08:45 +08:00
2026-11-01 14:48:19 +08:00
2026-11-01 14:48:19 +08:00
2026-11-01 14:48:19 +08:00
2026-11-15 02:19:18 +08:00
2026-11-13 05:12:30 +08:00
2026-11-13 05:12:30 +08:00
2026-11-02 21:52:57 +08:00
2026-10-13 13:42:56 +08:00
2026-10-09 01:40:02 +08:00
2026-10-09 01:40:02 +08:00
2026-10-28 00:19:58 +08:00
2026-10-24 21:33:06 +08:00
2026-11-10 12:54:39 +08:00
2026-11-07 00:42:21 +08:00
2026-11-07 00:42:21 +08:00
2026-11-01 07:41:23 +08:00
2026-11-13 01:01:23 +08:00
2026-11-01 19:02:59 +08:00
2026-11-02 22:28:57 +08:00
2026-10-31 10:08:40 +08:00
2026-10-31 10:08:40 +08:00
gateway, provider: the Routing page says what a lone key or account has left, and a key bought as a plan (Kimi Code, GLM Coding Plan, MiniMax, OpenCode Go, Command Code) is weighed by its plan's windows ( #1016 , gphysign: Kimi Code (China) with one key on, Smart routing; the card said only "Kimi Code (China) 只启用了一个 Key,无需选择。" while /v1/magpie/quotas had its 5 hours 49 used, 51 left and its 7 days 45 used) — two gaps. weighRouted returned before reading anyone's allowance when there was one candidate, so a lone key or a lone subscription account was never known in the trace, and the Routing page, which shows a bar and "{n} used · renews in {d}" for a known row, had nothing to show; every single-account subscription said "what's left not known yet" the same way. And KeyAllowance read only a sub2api key's limits, so a key whose plan the Usage page reads (planQuotaSourceOf: Kimi Code, GLM Coding Plan and Z.ai, MiniMax Coding Plan, OpenCode Go, Command Code) was never known to routing, with one key or several. weighRouted now reads what each candidate has left before returning a lone one (one alone is still weighed against nobody). readsKeyWindows takes a plan key too; keyWindows reads it through planKeyWindows (planWindows, with Zhipu's team quota behind a key that has none of its own, as PlanQuotas does), and PlanQuotas' own read of a card is noted for routing at once (noteKeyAllowance), so the Usage page and routing never ask twice; the card kept on disk seeds it after a restart (keyCardTag keys a plan card as plan:, a sub2api one as balance:). A key at such a vendor that turns out to be pay-as-you-go, with no windows, is asked again every 30 minutes (keyNoWindowsAge), not every minute it is used. So, beyond the issue: several plan keys on one provider are now weighed by their windows under Smart, usage and pace, and a plan key the vendor refuses as out of quota rests until its window renews and comes back once read short of full, as a sub2api key does. affine no longer says a lone key or account all but used up "moved" its conversation: there is nobody to move to (at > 0). The GUI needed no change. TestLoneOneTellsWhatItHasLeft (a lone Kimi key known at 49% with both renews, the week first; a lone Codex account known; a plain DeepSeek key not), TestLoneSpentKeyKeepsItsConversation (fails with the at > 0 guard taken out), TestPlanKeyAllowance (the windows read behind the request, asked once; DeepSeek and Moonshot keys never asked), TestPlanKeyAllowanceFromItsCard (PlanQuotas' read known at once without a second ask; after a restart with the vendor down, the card on disk stands in and a failed read keeps it) and TestPayAsYouGoKeyAskedSeldom (a GLM pay-as-you-go key asked once, not two minutes on, again 31 minutes on) all fail without the change and pass -race -count=20 (provider) / -count=10 (gateway). routing-key-windows.test.cjs gains a lone Kimi Code key at 1100px and 440px (the one-key story, the row's bar at 49%, its provider row "49% used · renews in …" fitting, no sideways scroll) and passes in full on Chromium and WebKit in en, zh, ja and de; routing-quota-left and panel-routing pass. go test -tags nogui ./internal/..., go test -race on ./internal/provider and ./internal/gateway in full, go vet, gofmt -l, darwin, linux and windows (nogui) builds pass. Not tried with a real Kimi Code key. StepFun's Step Plan is read through a sign-in, not the key, so it isn't one of these. docs/subsystems/gateway-routing.md, providers-accounts.md and docs/reference.md say it.
2026-10-06 20:25:04 +08:00
2026-11-04 16:55:33 +08:00
2026-11-09 05:06:48 +08:00
2026-11-14 15:46:34 +08:00
2026-11-01 22:14:19 +08:00
2026-10-30 16:59:04 +08:00
2026-11-01 18:28:31 +08:00
2026-10-28 10:09:51 +08:00
2026-11-05 01:43:41 +08:00
2026-10-30 08:33:28 +08:00
2026-10-28 04:18:21 +08:00
2026-11-11 14:13:01 +08:00
2026-10-19 18:58:42 +08:00
2026-10-10 10:22:59 +08:00
2026-10-15 23:08:04 +08:00
2026-11-12 14:35:38 +08:00
2026-11-12 14:35:38 +08:00
2026-10-10 10:22:59 +08:00
2026-10-10 10:22:59 +08:00
2026-11-03 21:01:27 +08:00
2026-11-03 21:01:27 +08:00
2026-10-14 13:20:13 +08:00
2026-10-25 11:52:02 +08:00
2026-11-04 19:16:10 +08:00
2026-11-11 23:54:16 +08:00
2026-10-13 09:52:14 +08:00
2026-11-02 07:40:21 +08:00
2026-10-29 16:50:17 +08:00
2026-10-19 21:31:23 +08:00
2026-11-04 11:56:33 +08:00
2026-10-15 22:36:59 +08:00
2026-10-22 20:51:08 +08:00
2026-10-29 00:52:19 +08:00
2026-10-29 18:17:55 +08:00
2026-11-02 12:03:24 +08:00
2026-11-02 09:11:30 +08:00
2026-10-28 08:28:56 +08:00
2026-11-10 20:32:38 +08:00
2026-11-15 12:14:48 +08:00
2026-11-05 11:46:26 +08:00
2026-11-07 22:36:03 +08:00
2026-11-10 20:16:44 +08:00
2026-11-10 10:01:59 +08:00
2026-11-10 10:01:59 +08:00
2026-10-28 18:11:21 +08:00
2026-11-14 13:15:20 +08:00
2026-11-03 13:40:20 +08:00
2026-11-15 14:52:48 +08:00
2026-11-14 12:31:48 +08:00
2026-11-14 12:31:48 +08:00
2026-11-10 19:53:54 +08:00
2026-11-15 14:52:48 +08:00
2026-10-28 09:29:44 +08:00
2026-11-14 15:46:34 +08:00
2026-10-05 21:56:59 +08:00
2026-10-28 12:39:39 +08:00
2026-10-15 23:08:03 +08:00
2026-11-10 04:47:19 +08:00
2026-10-27 18:43:32 +08:00
2026-10-14 04:35:55 +08:00
2026-10-14 04:35:55 +08:00
2026-11-12 00:17:30 +08:00
2026-11-14 15:46:34 +08:00
2026-11-13 14:30:19 +08:00
2026-11-01 03:10:49 +08:00
2026-10-06 07:43:47 +08:00
2026-11-14 19:09:35 +08:00
2026-11-14 19:09:35 +08:00
2026-11-04 10:23:34 +08:00
2026-10-21 07:23:23 +08:00
2026-11-14 14:02:49 +08:00
2026-11-02 19:10:37 +08:00
2026-11-01 12:52:19 +08:00
2026-11-02 21:59:29 +08:00
2026-11-10 17:18:32 +08:00
2026-10-17 23:11:00 +08:00
2026-11-13 05:12:30 +08:00
2026-11-15 12:14:48 +08:00
2026-11-11 03:41:37 +08:00
2026-10-13 09:09:37 +08:00
2026-11-14 14:02:49 +08:00
2026-10-14 21:54:12 +08:00
2026-11-02 05:38:10 +08:00
2026-10-20 20:23:55 +08:00
2026-11-06 12:05:01 +08:00
2026-11-06 12:05:01 +08:00
2026-11-01 00:14:17 +08:00
2026-11-15 12:14:48 +08:00
2026-10-20 20:23:55 +08:00
2026-11-10 12:54:39 +08:00
2026-11-15 12:14:48 +08:00
2026-11-15 06:06:25 +08:00
quota: each allowance says when it was read, a cached one keeps its own time, and magpie quota history tells the windows' readings over time ( #802 , margbug01) — a subscription's card had no time unless its reading had failed, and a Claude account's allowance, which is what Claude Code last told (kept until it answers again or runs /usage), was shown on every refresh as if just read and written into the history again at each one's time. A reading now carries ReadAt: the time it was made (readNow, for every subscription and account read), and a Claude account's the time Claude Code told it (claudeReadAt). The usage card says "Updated 40 minutes ago" from it, a reading standing in for a failed one still says "As of …" in amber, a failed one says neither. The history ( #651 ) keeps a point at its ReadAt, so a reading shown again is no new point. magpie quota and magpie accounts add "read 40m ago" to a line read more than 2 minutes before, and --json and GET /v1/magpie/quotas carry readAt. magpie quota history [<provider|account>…] [--days N] [--json] tells each account's windows over time (UTC, kept 45 days, a point only where it changed, the runs of a window apart by their reset), the last eight a window in text with ↻ where it started again, every one with --json, as GET /v1/magpie/quotas/history answers. On the card, hovering a window's key under the curve lists its latest readings with their times; no control is added to the card (the curves are kept uncluttered). Strings in zh, ja, de. Request-log correlation between readings isn't attempted. TestClaudeKeptReadingKeepsItsTime (a kept Claude reading shown three times ten minutes apart is one point at its own time; fails on the old code), TestQuotaHistoryCmd, and quota-read-at.test.cjs (WebKit, en and zh; fails on the old code). quota history run against a copy of the owner's real quota-history.json lists their Claude, Codex, Command Code, Copilot, Cursor and Devin windows. quota-curve, quota-pools, quota-families, quota-credits, quota-count-wrap, claude-usage-asked, panel-usage and balance-* pass on WebKit. go vet, builds (darwin, GOOS=linux nogui, GOOS=windows) and go test -tags nogui -count=1 ./... under a temp HOME pass (TestProvidersAnswerWhileListsComeIn, TestUserPath, TestClaudeSignedOut and TestCursorSignInJoinsAWrappedLink failed under load and pass alone).
2026-10-05 00:14:25 +08:00
2026-10-05 10:41:07 +08:00
2026-10-15 23:08:02 +08:00
2026-11-06 12:09:21 +08:00
2026-10-15 23:08:02 +08:00
2026-11-14 19:37:57 +08:00
2026-11-13 23:42:57 +08:00
2026-11-15 12:14:48 +08:00
2026-10-21 08:40:49 +08:00
2026-11-11 21:59:36 +08:00
2026-11-14 19:09:35 +08:00
2026-10-31 09:58:04 +08:00
2026-11-13 05:12:30 +08:00
2026-10-30 18:55:51 +08:00
2026-11-09 02:47:26 +08:00
2026-10-14 09:38:12 +08:00
2026-11-06 19:50:18 +08:00
2026-11-06 19:50:18 +08:00
provider: a Refresh drops the picks the vendor's list no longer has (akic404 on Discord: a remote magpie offering far fewer models, one of its providers renamed from ws-ba5my… to bailian, still showed every old model here after a Refresh, until the provider was deleted) — a Refresh already replaced the fetched list (catalog.SaveLive writes it whole), but the models picked from the old list stayed in the provider's Models, and Exposed serves a pick the list lacks as one typed in by hand ( #597 ), so every "ws-ba5myt9wad852ujp-…/qwen3.6-max" the remote no longer had stayed among the models agents see, drawn in the editor as "Added by hand". Now Fetch (through the new Refetch) drops from the saved picks those the list fetched before had and the one fetched now doesn't; a pick neither list had was typed in by hand and stays, and a fetch that fails or answers no model changes nothing. It applies to providers of a key (a remote magpie, any /v1/models provider), not to signed-in accounts, whose lists have their own rules. The editor's Refresh is told the dropped ids and takes them out of its draft too, or its Save wrote them back. TestRefreshDropsPicksTheListNoLongerHas (a remote-magpie preset against a server whose list shrinks and is renamed, then goes down) fails on the old code (all four picks kept) and passes. End to end with two sandbox magpies under temp HOMEs: A (nogui serve on 3461, a provider ws-ba5my over a fake upstream), B with A as a remote magpie and four picks (three of A's, one typed); after A's provider set ws-ba5my id=bailian and two models dropped, B's provider models left the typed pick alone, and with A stopped a Refresh failed and changed nothing. go vet, builds (darwin, GOOS=linux -tags nogui, GOOS=windows) and go test -tags nogui -count=1 ./internal/... under a temp HOME pass.
2026-10-03 23:01:47 +08:00
2026-10-24 02:11:14 +08:00
2026-11-13 13:15:31 +08:00
2026-11-15 05:45:09 +08:00
2026-11-15 09:38:24 +08:00
2026-11-12 09:47:34 +08:00
2026-11-14 15:36:16 +08:00
2026-10-29 20:50:18 +08:00
2026-11-06 15:41:43 +08:00
2026-11-06 15:41:43 +08:00
2026-10-15 01:54:28 +08:00
2026-11-15 03:50:46 +08:00
2026-11-11 15:59:46 +08:00
2026-10-10 03:55:45 +08:00
2026-11-07 16:05:37 +08:00
2026-11-12 19:48:02 +08:00
2026-11-13 15:32:20 +08:00
2026-11-13 15:32:20 +08:00
2026-11-15 18:58:57 +08:00
2026-11-09 12:42:35 +08:00
2026-11-13 10:22:01 +08:00
2026-11-13 10:22:01 +08:00
2026-11-15 05:45:09 +08:00
2026-11-05 12:37:30 +08:00
2026-11-05 12:37:30 +08:00
2026-11-08 03:13:15 +08:00
2026-10-28 00:14:13 +08:00
2026-11-14 15:46:34 +08:00
2026-11-03 14:16:20 +08:00
2026-10-29 17:02:24 +08:00
2026-11-03 14:16:20 +08:00
2026-10-14 05:22:39 +08:00
2026-11-01 00:28:03 +08:00
2026-11-13 14:30:19 +08:00
2026-10-19 15:19:31 +08:00
2026-10-19 15:19:31 +08:00
2026-11-09 18:13:08 +08:00
2026-11-12 22:14:40 +08:00
2026-11-15 13:28:34 +08:00
2026-10-08 20:13:26 +08:00
2026-11-10 18:48:13 +08:00
2026-11-10 18:48:13 +08:00
2026-10-11 21:24:10 +08:00
2026-11-10 12:54:39 +08:00
2026-10-05 16:31:07 +08:00
2026-11-10 22:57:20 +08:00
2026-10-29 20:36:04 +08:00
2026-10-24 19:40:14 +08:00
2026-10-15 23:08:00 +08:00
2026-11-12 19:48:02 +08:00
2026-11-12 19:48:02 +08:00
2026-11-10 16:47:33 +08:00
2026-11-07 21:21:48 +08:00
2026-11-04 20:55:42 +08:00
2026-10-24 21:00:05 +08:00
2026-10-24 21:00:05 +08:00
2026-10-19 15:19:31 +08:00
2026-10-19 15:19:31 +08:00
2026-11-11 21:13:43 +08:00
2026-10-07 02:09:17 +08:00
2026-10-15 23:08:04 +08:00
2026-11-06 12:48:51 +08:00
2026-10-20 20:23:55 +08:00
2026-11-03 16:43:12 +08:00
2026-11-11 13:05:16 +08:00
2026-11-11 13:05:16 +08:00
2026-10-16 03:46:15 +08:00
2026-11-10 03:48:24 +08:00
2026-11-14 16:55:08 +08:00
2026-10-14 08:39:37 +08:00
2026-11-03 10:44:15 +08:00
2026-11-15 14:30:16 +08:00
2026-10-17 19:55:49 +08:00
2026-10-12 21:57:29 +08:00
2026-11-13 13:58:00 +08:00
2026-11-15 12:14:48 +08:00
2026-11-15 12:14:48 +08:00
2026-11-10 12:54:39 +08:00
2026-10-12 19:38:11 +08:00
2026-10-17 23:11:01 +08:00
2026-10-10 10:22:59 +08:00
2026-10-12 22:16:17 +08:00
2026-11-10 12:54:39 +08:00
2026-10-11 09:40:38 +08:00
2026-10-17 23:11:00 +08:00
2026-11-14 19:09:35 +08:00
2026-11-09 12:04:20 +08:00
2026-11-13 21:09:44 +08:00
2026-11-12 10:59:13 +08:00
2026-11-09 18:57:29 +08:00
2026-11-09 18:57:29 +08:00
2026-11-11 04:13:12 +08:00
2026-11-01 13:32:30 +08:00
2026-11-04 06:39:37 +08:00
2026-11-13 00:11:37 +08:00
2026-11-01 13:40:29 +08:00
2026-11-13 00:11:37 +08:00
2026-11-13 00:11:37 +08:00
2026-11-06 19:50:18 +08:00
2026-11-12 11:38:52 +08:00
2026-11-10 03:48:24 +08:00
2026-10-07 06:14:20 +08:00
2026-11-01 00:43:15 +08:00
2026-11-11 10:37:13 +08:00
2026-11-11 10:37:13 +08:00
2026-10-14 19:47:16 +08:00
2026-10-06 18:57:47 +08:00
gui: an answer read while the accounts are read again is followed by the new one ( #959 ) — usage/quotas answers at once with the kept copy and reads the accounts again behind it, so the tray panel, opened, showed the old usage (40%) while the window's next timed read had the new (used up), until refreshed by hand (Magixyne). Such an answer now says so (X-Magpie-Reading: 1, provider.SubscriptionUsageReading), and loadQuotas asks again every 1.5s, twenty times at most, until it has landed; an answer the same as the last isn't drawn again. quota-reading-again (panel and window, en and zh, Chromium and WebKit; a read that never lands stops after twenty) passes and fails without the fix; TestSubscriptionUsageReadingWhileStale passes with -race -count=5. claude-usage-asked, panel-usage, tray-usages, usage-card-refresh, usage-stale-answer, quota-curve and usage-fold pass; go test ./internal/provider/ ./internal/gui/ and vet pass.
2026-10-06 10:58:10 +08:00
2026-10-11 21:22:18 +08:00
2026-11-15 13:28:34 +08:00
2026-11-13 05:12:30 +08:00
2026-10-31 19:35:16 +08:00
2026-11-01 05:23:58 +08:00
2026-11-01 05:23:58 +08:00
2026-11-05 16:22:31 +08:00
2026-11-04 21:21:32 +08:00
2026-11-12 01:20:52 +08:00
2026-11-07 13:34:54 +08:00
2026-11-13 02:00:40 +08:00
2026-11-12 18:09:14 +08:00
2026-11-12 18:09:14 +08:00
2026-10-09 02:20:30 +08:00
2026-10-27 16:23:20 +08:00
2026-10-31 00:08:29 +08:00
2026-11-15 01:32:07 +08:00
2026-10-30 14:17:26 +08:00
2026-11-10 12:54:39 +08:00
2026-10-23 19:03:58 +08:00
2026-11-14 14:02:49 +08:00
2026-10-31 22:21:29 +08:00
2026-11-05 18:31:17 +08:00
2026-11-10 12:54:39 +08:00
2026-10-15 09:36:26 +08:00
2026-11-10 10:03:49 +08:00
2026-11-10 10:03:49 +08:00
2026-11-13 05:12:30 +08:00
2026-11-10 18:01:13 +08:00
2026-11-10 07:36:19 +08:00
2026-10-24 02:48:50 +08:00
2026-11-11 09:30:53 +08:00
2026-11-07 17:44:31 +08:00
2026-11-07 17:44:31 +08:00
2026-10-10 18:31:32 +08:00
2026-11-10 18:11:38 +08:00
2026-11-05 17:50:33 +08:00
2026-11-10 12:54:39 +08:00
2026-11-11 03:54:21 +08:00
2026-11-13 15:06:26 +08:00
2026-11-13 15:06:26 +08:00
2026-11-14 02:22:28 +08:00
2026-10-29 22:40:31 +08:00
2026-10-09 23:25:04 +08:00
2026-11-14 19:09:35 +08:00
2026-11-06 10:17:08 +08:00
2026-11-15 08:24:18 +08:00
2026-11-09 19:23:13 +08:00
2026-11-15 11:00:37 +08:00
2026-10-29 15:39:31 +08:00
2026-11-15 11:00:37 +08:00
2026-10-08 16:05:15 +08:00
2026-10-08 16:05:15 +08:00
2026-10-08 16:05:15 +08:00
2026-10-08 16:05:15 +08:00
2026-11-02 03:46:01 +08:00
2026-11-02 03:46:01 +08:00
2026-11-13 23:12:48 +08:00
2026-10-14 13:02:48 +08:00
2026-10-14 13:02:48 +08:00
2026-11-01 05:23:58 +08:00
2026-10-23 19:03:58 +08:00
2026-11-14 14:02:49 +08:00
2026-11-03 10:39:41 +08:00
2026-10-17 23:11:00 +08:00
2026-10-26 22:42:59 +08:00
2026-11-10 12:54:39 +08:00
2026-10-30 15:53:22 +08:00
2026-11-10 12:54:39 +08:00
2026-10-13 05:57:40 +08:00
2026-11-13 22:46:00 +08:00
2026-11-13 22:46:00 +08:00
2026-11-10 12:54:39 +08:00
2026-10-17 23:11:00 +08:00
2026-10-22 04:32:46 +08:00
2026-10-17 23:11:00 +08:00
2026-11-10 12:54:39 +08:00
2026-10-17 23:10:59 +08:00
2026-11-15 12:14:48 +08:00
2026-11-03 16:26:17 +08:00
2026-10-13 13:59:17 +08:00
2026-11-05 11:44:31 +08:00
2026-10-15 15:55:24 +08:00
2026-10-15 15:55:24 +08:00
2026-10-08 05:57:48 +08:00
2026-10-31 07:26:46 +08:00
2026-10-27 18:45:45 +08:00
2026-10-27 18:45:45 +08:00