provider: WorkBuddy's mover min is 0.2.14, whose free window is set aside (plugins#641)

XiaoFeiyu9 (plugins#641): a WorkBuddy account paying credits read 99%
on deepseek-v4.1-flash's free window at 187.7M tokens, with 937 calls
answered and no refusal from WorkBuddy, and magpie routed away from it.
The window's 190M was a soft cap measured on two other accounts.

Plugin 0.2.14 (plugins eea8c9b) shows the window's sum against 200M,
marks it aside so routing never counts it as the allowance, and only
WorkBuddy's own 429 refusal makes it 100%. The gateway already rests
that model on that account until the refusal's reset. npm has 0.2.14
(npm view --prefer-online). This raises the mover's min so every
moved user gets it.

Run: go test ./internal/provider -run 'Mover|Moved|Migrat|WorkBuddy|Min'
on mote: ok. Plugin: bun test in packages/workbuddy, 314 pass; with the
aside taken out, 2 fail.
Not tried: a real China-build account; whether a paid account shares the
Free plan's window at all is unknown, the refusal decides either way.
This commit is contained in:
yetone
2026-11-03 02:11:50 +08:00
parent eb8b840dd4
commit d8a34cbcf6
File diff suppressed because one or more lines are too long