Commit Graph
2 Commits
Author SHA1 Message Date
wizzy-yangandwizzy-yang 8c661279f2 zcode: a bucket counted in amounts says its count as used or as left, as the share beside it is (#659) — the Start Plan's buckets and a Coding Plan's limits told only the vendor's used-first text, "28746939 / 100000000", so the card froze that count beside a "71.3% left" figure. A window whose whole is told now carries the count as amount of limit, as WorkBuddy's credits do. TestZCodeStartBucketsCarryTheirCount, TestZCodeWindowsCarryTheirCount and the amount/limit assertions in TestZCodeAccounts fail without the change; go vet, gofmt (byte-exact, the repo's CRLF aside) and go test ./internal/provider/ pass, its one failure (TestLoginUsageClaudeAskedMeanwhile) the same on a clean origin/main. (#1137)
Co-authored-by: wizzy-yang <wizzy-yang@users.noreply.github.com>
2026-10-13 12:17:39 +08:00
yetone df019e18e7 zcode: an old plan with no monthly cap is no longer taken as used up (#366) — the quota reply's TIME_LIMIT is the month's MCP tool calls, which ZCode only shows and never stops the models on, but magpie read it as the account's monthly allowance, so an old plan reporting it at 100% had its ZCode models skipped with the 5 hours full. It is now shown as MCP · Month and set aside, as a pasted Zhipu key's already was, and a limit whose whole is 0 (no cap) counts as unused. TestZCodeNoMonthlyCap fails without the change. go vet, go build -tags nogui (darwin, GOOS=linux), GOOS=windows go build, go test -tags nogui ./... pass (the Claude account tests pass alone). 2026-10-01 02:58:29 +08:00