Files
magpie/docs
yetone 338eae3c20 provider: a remote magpie's new routing group is offered beside picks that left a model out (KoiLx0 on X)
A remote magpie whose picks left any of its models out served no model
listed after the Save (withNewlyListed's all-or-nothing rule), so every
routing group its user made there later, group/opus here, was missing
from the agents' pickers until ticked by hand in the editor. Deleting
and adding the remote again cleared the picks, which is why it "showed
sometimes". A group the remote lists since the picks were saved
(not in PickedFrom) is now served beside them; a new model of the
remote's providers still waits for a tick, and a group listed at Save
and left unpicked stays out.

Not changed: an agent set to show only the models picked for it
(#1337) still hides any model made later, local groups too; that is
the mode's rule.

Run:
- TestRemoteMagpieNewGroupServedBesidePicks red on the old models.go
  ("the remote's new group isn't offered: [group/smart
  fake/claude-opus-9]"), green after.
- go test -count=1 -timeout 45m ./internal/provider ./internal/gateway
  ./internal/gui ./internal/cli on mica at 4a4424ea8 + this change:
  all ok (provider 192s, gateway 1119s, gui 227s, cli 69s).
- GOOS=linux and GOOS=windows go vet ./internal/provider; gofmt -l clean.
- Two sandbox magpies on mote (remote R with groups smart, opus,
  sonnet over a fake upstream; client C with remote "office", picks
  leaving fake/gpt-x out): the old binary listed 3 of 5 with
  office/group/sonnet left out; the fixed one, after a restart, lists
  office/group/sonnet in /v1/models and in /api/agent-models/claude
  with nothing hidden, and a group added on R while C ran
  (office/group/haiku) showed within seconds; fake/gpt-x stayed out.

Not tried: the reporter's own pair of machines, the GUI editor by hand
(it starts from Picks, which now holds the group).
2026-11-15 18:58:57 +08:00
..