Files
magpie/internal/gui
yetone a265632dae routing: a model in a group at one reasoning can be added again at another (visamzh on X)
visamzh on X: in a Routing group, the same model can no longer be added a
second time at another reasoning effort (gpt-6.2-sol at xhigh and at high).
It used to work.

Cause: 74c67785c (#907, 10-05) ticked a model in the Add a model picker
when any member had its base, so sol showed ticked for sol:xhigh. A click
on sol then took sol:xhigh out instead of adding sol, so a second effort
could never be added from the GUI. Saving (SaveGroup's cleanList dedups
exact ids only), reading, the gateway's members() (each effort its own
member, internal/gateway/groupeffort_test.go) and the TUI picker were never
affected, so groups that already hold sol:xhigh and sol:high load and route
as they are.

Now a member held at a fixed reasoning or on one account is a row of its
own in the picker, ticked, its level/account in its note, and a click on
it takes that member out, as #907 asked. The model's own row under it is
unticked and adds the model again, to be set to another level in its row.

Tests:
- group-member-again.test.cjs (new): sol:xhigh in the group gives two sol
  rows (held one ticked, says "xhigh reasoning"), the plain one adds a
  third member, set to high it saves [sol:xhigh, terra:high, sol:high];
  a group already holding sol:xhigh and sol:high shows both and saves
  both. en/zh x chromium/webkit.
- group-pick-filter.test.cjs (#907) updated: the held row stays ticked and
  takes its member out; the plain row is not ticked; save keeps two:max.

Run (mote, mote-run, node --test):
- group-member-again + group-pick-filter at this head: 8/8 pass. At
  origin/main e1c186cfe with the new test: group-member-again 0/4
  ("sol at xhigh and sol itself are not two rows 1 !== 2").
- Every GUI file reaching ?view=groups or plugins/routing (104 files,
  concurrency 4): 1401/1473 pass. The 72 reds were in 10 files. The 9 files
  rerun at this head and at origin/main e1c186cfe (concurrency 2): the
  same 71 reds at both. routing-groups-page's one 420px red (quotas
  redrawn) passed in the rerun. Filed: #7016 (routing-provider-off,
  routing-rows-fit, win-fonts); the rest are in #6934
  (group-editor-selected, menu-input-scroll, mobile-web,
  name-suffix-where-named, zero-priced-free).
- Rebased onto 69233d6bc (Docker image only) after the runs.

Not tried: a click-through in the real app. No Go changed, so the Go
groupeffort tests were not run again. No new strings, so zh-TW/ja/de are
unaffected.
2026-11-18 10:42:59 +08:00
..
…
…
…