Files
magpie/docs
yetone a24a5f6af4 gui: a model test its vendor queued shows queued, not green (sufeng1894 on X)
sufeng1894 (v0.1.4248) added Qoder China and QwenWork providers (both
served by the Qoder plugin): their models were green in the provider's
Test, and every request through Routing failed with 503.

A Qoder/QwenWork plan queues a model (code 10605, e.g. "this plan's
queue: p4"). The test sends x-magpie-fallback, the plugin answers the
queue's 503 at once, and probe counts it OK with Result.Queued
(d3aecfe95). The GUI drew that as a green dot and "answered", while
routing gives way from a queued member at once (503 busy) and the last
member's wait ends in the queue's 503 (4 minutes unstreamed; a frozen
queue after 5 minutes with qoder 0.2.71, v0.1.4321). So Test said the
opposite of what Routing does.

Now a queued result is its own state: an amber dot, its title
"Queued at its vendor, not answered: <queue>", and Test models' and
Test this model's status say the same and are not "ok". Working only
still keeps a queued model, as the test's OK says (a queue clears).
renderEndpoints is not a sibling: it is drawn only when no address is
plugin://, and only plugins report queued.

core_budget_test.go: +135 for it, the reason in the comment; one
string (queuedSaid) shared by all three places.

Run (mica-run/mote-run, at origin/main 8608ce024):
- models-queued.test.cjs (chromium, webkit): 4/4 ok; with the old
  app.js 4/4 red ("a queued model's dot isn't green", and the single
  test's status timed out waiting for the queued dot).
- go test -run Budget ./internal/gui: ok.
- every models-*, model-*, provider*, i18n-* and test-* GUI file:
  2430 tests, 2323 ok, 107 red (mote). The same 107 in the same 11
  files are red at untouched origin/main 8608ce024 (146 run, 107 red),
  all filed: i18n-keys (#6877), models-works-only (#4391),
  model-chip-steady (#4388), model-copy-id (#4621), model-api-preset
  (#5838), provider-max-output and provider-many-keys (#6209),
  provider-fetch-again, provider-models-rest, provider-picks-stay and
  provider-typed (#6532). A first run on mica died of ENOSPC (its disk
  is full) and tested nothing.
- Rebased onto 07f7e0b45 (nothing under internal/gui changed since
  8608ce024): the budget test and models-queued + model-test-one
  (8/8) ran again there, ok.

Not tried: a real Qoder China or QwenWork account; the reporter's 503
body, so which queue (or another cause) their 503s carry is not
confirmed.
2026-11-16 22:03:48 +08:00
..