Files
magpie/internal/gui/assets/plugins
yetone 6b8261029b routing: a request magpie put on another model says why (Neo)
Neo (Discord #feedback, Claude Desktop through the gateway) saw a
Requests row asking chatflowsai/claude-opus-5-5 served by AgentRouter's
gpt-6.1-sol, and read it as Claude asking for another provider's model
on its own. Claude Desktop names its own short requests (a title, its
connection check) on the first Claude-looking id in the list, here
chatflowsai's opus, and magpie keeps them on the chat's model by design
(desktopTurn, 51f66fe8b/13b4a29ab). The routing is right; the row never
said why the model changed.

Changed:
- Route gets Moved {to, why}, set wherever serve puts a request on
  another model before the trace starts: Desktop's tier, title, check,
  gone-model and side-turn moves (desktopMove returns the reason), the
  classifier and Claude tier stand-ins, the stand-in, Codex's turn and
  Privacy's mask route. A subagent's own move clears it (it has its own
  tag).
- Routing's list rows, replay, panel and story tag such a row "Title"
  or "Stand-in" and say why in the tooltip and story. Desktop's
  connection_check kind (da3c5e0c0) already explains itself, so it
  gets no second sentence (movedSays).
- zh, zh-TW, ja, de for the new strings; gateway-routing.md says it.
Not changed: codexFollowTo/codexMaskRoute still show the moved model as
asked.

Run:
- Full Go suite `go test -timeout 45m ./...` on mote at e30092847
  (before the rebase onto cae01311c): 79 ok; the one FAIL is
  internal/gui TestMainWindowCorners/macOS_26_SDK, #3949, same message.
- At 557c4f950 (on cae01311c), on mote: gofmt clean, go vet ./...,
  GOOS=windows go vet ./..., GOOS=linux go vet ./internal/gateway/...
  ./internal/usage/... (a whole-tree Linux vet needs cgo for Wails):
  ok. go test internal/gateway/... and internal/usage/... ok;
  internal/gui's reds are the AppKit windows killed at their deadline
  (#2645, #4125), TestSettingsSaveKeepsWhatItDoesNotSend (#4514) and
  TestColdTurnsTaken (#4510), none of them Routing's.
- Rebased onto b1a1b950f (b52c39b65 changed routing/client.js): this
  head, on mote: gofmt clean, go vet ./internal/..., GOOS=windows go vet
  of gateway and gui, go test ./internal/gateway/... ok. Rebased again
  onto a511b11d8: go vet of gateway and gui, and go test -run
  'Desktop|Moved|Classif|StandIn|Subagent' ./internal/gateway/: ok.
- The full GUI suite at e30092847 was swamped by other sessions' suites
  (4771 browserType.launch 180s timeouts, #4125), so it tests nothing.
  mote's browsers were broken again (#4125), so the 208 GUI files that
  reach Routing or i18n ran on Linux (WSL magpie-desktop) at 557c4f950:
  2921 tests, 2823 pass, 98 fail in 37 files. Those 37 files at
  origin/main b1a1b950f: 76 of 428 red; at this head: 80 of 428, the
  differing ones the same tests in other languages or engines (rule
  drag/remove, rest-try-now, routing-flood, group-morph), filed as
  #4121, #4120, #4471, #2215, #3789, #3094, #2564. i18n-keys' one red
  is #4524 ("Unmarked", on main). At this head routing-moved-why,
  routing-session-title, claude-subagent-tag and i18n-keys: 83 of 84,
  the one is #4524.
- routing-moved-why.test.cjs runs en/zh/zh-TW/ja/de, both engines, at
  1100 and 420 wide.

Broken by hand: with `Moved: moved,` taken out of serve's Route literal,
TestClaudeDesktopMoveSaysWhy is red ("title's route moved <nil>, want
agentrouter/gpt-6.1-sol by desktop-title"); with origin/main's
client.js, routing-moved-why is red (0/2).

Not tried: a real Claude Desktop. Neo's earlier effort high-as-medium
report was not looked at here.
2026-10-31 18:05:17 +08:00
..