Files
magpie/internal
yetone a77ecbf8a1 gui: models of one provider named alike say what tells them apart (sunset on Discord)
sunset (#feedback, 10-19): with the Our Free Model plugin the provider
editor's chips read "DeepSeek-V4.1-Flash · x0.1" three times over; the
ids (buddy/…, cline/…, kilo/…) told them apart only in the tooltip.

modelTells(items, label, id, key) finds, among the models of one list
(and one group, for a picker), those that would show the same label, and
gives each the part of its id that tells it from the others: the
segments left after the ones all of them share at the front and back
are taken off, the whole id when that isn't enough or is empty. A
label no other model has gets nothing, so every list that was fine is
drawn exactly as before. The tell is quiet secondary text after the
name (.mtell, muted, never the accent of a pick); where only plain text
fits it is " · tell". No new control.

Where: the provider editor's model chips, the detect sheet's chips, an
account's model chips, the fallback list and its suggestions, every
openPicker list (agents' model menus, Settings' model pickers, Routing's
member and classifier pickers; worked out per group, so one name under
two providers says nothing), and the Routing page's member names and
labels (routing/client.js). Routing keys its groups by the model's
provider, or its provider's name where a list carries only that, so one
name under two providers says nothing there either.

Run (tree at 818007045 on 9b72add51, then rebased onto dd70c5e6a):
- model-same-name-tell.test.cjs, new: a reporter-shaped fixture (three
  DeepSeek-V4.1-Flash ids under buddy/cline/kilo plus GLM-5.2), chips,
  tooltip, picker, Routing card, and modelTells alone for no prefix, a
  shared prefix, differences deeper in, and no name. 14/14: chromium
  and webkit, en zh zh-TW ja de at 1100px, en and zh at 420px.
- Broken by hand: modelTells returning whole ids -> red (got the full
  ids); routing/client.js put back -> red ("Our Free Model ·
  DeepSeek-V4.1-Flash" twice). Both restored, green.
- gofmt -l clean; go vet darwin, GOOS=linux -tags nogui, GOOS=windows
  clean.
- Whole GUI suite on this tree with the next commit on top (831f9d48e,
  before the Routing key fix above): 2009 subtests reached in about 4h
  at load ~300-400 (files a to j), 19 red. 4 were group-new-head: its
  fixture's models carry providerName but no provider, so a/m and b/m
  (both "m", under A and B) were keyed as one provider and drew "m ·
  aA". Routing now keys by provider || providerName; group-new-head
  and model-same-name-tell 18/18 after. The rest, none reached by this
  change: codex-predictions 420px (#2624, red on origin/main alone);
  agent-notice-lang, bare-ids, builtins, claude-usage-asked and
  copilot-ghe pass alone on this tree (68/68); agent-notice-lang is
  red on origin/main dd70c5e6a too when run with them. Filed or seen
  before: #2960 (agent-notice-lang, builtins, claude-usage-asked),
  #2370, #1949. The files after j ran in an earlier whole-suite run of
  these changes (3h10m, stopped); its reds there were each run alone on
  this tree and on origin/main: lightweight #2638, menu-scroll #1550,
  model-id-space #2536, provider-advanced-fold #2552.
- go test -timeout 45m ./... at 831f9d48e: 59 ok, 5 red. agent,
  gateway and library timed out at 45m under load (#2544, #2870,
  #2853), gui TestSetAnswersWhileDevinAndProvidersHang (#1375), plugin
  TestPiPackage (#2869). Rerun at -timeout 90m: agent, gateway,
  library and plugin ok; gui red again on #1375. internal/gui alone at
  ea7f6d39e (both commits on dd70c5e6a): ok.
- On origin/main b10788745: gofmt clean, and go vet darwin, linux
  nogui and windows clean. 13 GUI files run together, 244 of 250 ok:
  clinepass-pin, model-same-name-tell, model-chip-steady,
  model-first-pick, provider-add-models, models-fold, group-new-head,
  group-editor-fits, local-address, menu-scroll, model-id-space. Red:
  lightweight 4/4 (#2638) and provider-advanced-fold 2 (#2552), both
  filed. go test ./internal/gui: TestSetAnswersWhileDevinAndProviders-
  Hang red (#1375), the rest ok.
- Rebased onto origin/main f73378365, which changes app.js, so these
  were run again at this head: model-same-name-tell, model-chip-steady,
  model-first-pick, provider-add-models and group-new-head, plus main's
  image-timeout-setting, usage-ledger-leave and disabled-models. 186 of
  186 ok.
2026-10-19 22:16:20 +08:00
..
…
…