Every agent's model. One place. Codex on DeepSeek, Claude Code on Kimi, from the menu bar.
gui: Names & levels says Provider in model names is global, opens Settings at it (joe)
yetoned41670e9db73
diff --git a/internal/gui/assets/app.css b/internal/gui/assets/app.cssindex 268d7c613..ecf2d9a5c 100644--- a/internal/gui/assets/app.css+++ b/internal/gui/assets/app.css@@ -811,7 +811,7 @@ body.window .field.solo { grid-column: auto; }.field .v { min-width: 0; flex: 0 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; font-weight: 500; }.field .chev { color: var(--faint); display: inline-flex; margin-left: auto; padding-left: 1px; }.field:hover .chev, .field.open .chev { color: var(--muted); }-.field.flash, .subscription-card.flash, .pq-card.flash { animation: flash 1.2s ease-out; }+.field.flash, .subscription-card.flash, .pq-card.flash, .row.pref.flash { animation: flash 1.2s ease-out; }@keyframes flash { 0%, 35% { box-shadow: inset 0 0 0 1px var(--green); background: var(--green-soft); } 100% {} }/* ---- usage ---------------------------------------------------------------- */@@ -3128,6 +3128,12 @@ body.window .ag-sk-icon { width: 22px; height: 22px; border-radius: 6px; }/* how the agents' lists will call them, and the setting that says so (#868) */.msuffix { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 2px 8px 4px; font-size: 12px; }.msuffix .hint { font-size: 11px; color: var(--faint); overflow-wrap: anywhere; }+.msuffix .where { font-size: 11px; color: var(--faint); overflow-wrap: anywhere; }+/* a provider's Names & levels: what the lists show, where that is set, and+ the way there, a line each: the list is laid out again a scrollbar's width+ narrower after a change, and a shared line wrapped then, which moved the+ list (provider-levels-scroll) */+.suffix-said .hint, .suffix-said .where { flex-basis: 100%; }.msuffix .no-names { flex-basis: 100%; font-size: 11px; color: var(--faint); overflow-wrap: anywhere; }.mname { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); }.mname .mwho { display: flex; align-items: center; gap: 8px; flex: 1 1 220px; min-width: 0; }diff --git a/internal/gui/assets/app.js b/internal/gui/assets/app.jsindex b7b9d5789..f8641a5eb 100644--- a/internal/gui/assets/app.js+++ b/internal/gui/assets/app.js@@ -11178,9 +11178,9 @@ function renderModels(p) {if (!ids.length) { names.append(el("span", "hint", t("Pick a model first."))); return; }const prefs = draft.modelPrefs = draft.modelPrefs || {};draft.onModelPrefs = drawNames;- // how the agents' lists will call them, and the setting that says so- // (#868), above the names given here- const sfx = el("div", "msuffix");+ // how the agents' lists will call them (#868), and that the setting is+ // every provider's, on Settings (joe on Discord)+ const sfx = el("div", "msuffix suffix-said");const sfxSaid = el("span", "hint");const first = p.models.find((x) => x.id === ids[0]) || { id: ids[0], name: ids[0] };const sayLabel = (mode) => {@@ -11193,7 +11193,13 @@ function renderModels(p) {sfxSaid.textContent = t("Agents’ lists show “{label}”", { label });};sayLabel();- sfx.append(el("span", "", t("Provider in model names")), suffixSegs(sayLabel), sfxSaid);+ sfx.dataset.mode = suffixMode();+ sfx.drawnAgain = sayLabel;+ const where = el("button", "text action", t("Change in Settings"));+ where.type = "button";+ where.hidden = gatewayMode; // Settings has no such row then+ where.onclick = (e) => openSettingsAt(e, "general", $("#plainNamesSegs").closest(".row"));+ sfx.append(sfxSaid, el("span", "where", t("“Provider in model names” is one setting for every provider")), where);sfx.append(noNamesLine("span", "said"));names.append(sfx);// the APIs a model can be asked on alone: those of a key's provider@@ -20195,7 +20201,8 @@ function suffixMode(s = state.settings || {}) { return s.plainNames ? "off" : s.function suffixSegs(drawn) {const mode = suffixMode();const seg = segs([["off", t("Off")], ["own", t("Not on names I set")], ["on", t("On")]], mode, (v) =>- writingPrefs(api("settings/plain-names", { mode: v })).then((ns) => { prefs = state.settings = ns; seg.dataset.mode = v; renderSettings(); drawn?.(v); })+ // every place that says it follows (Names & levels behind Settings)+ writingPrefs(api("settings/plain-names", { mode: v })).then((ns) => { prefs = state.settings = ns; seg.dataset.mode = v; renderSettings(); drawn?.(v); redrawSuffix(); }).catch((e) => { status(t(e.message), "err"); renderSettings(); drawn?.(suffixMode()); }));seg.classList.add("suffix-segs");seg.dataset.mode = mode;@@ -20237,13 +20244,15 @@ function sayNoNamesInSettings() {// redrawSuffix draws each suffix choice in the page again when the// settings that came in say another mode than it was drawn with: a page// drawn before the state's first read (Routing's groups can come back-// first) showed the default, On (#1433).+// first) showed the default, On (#1433). A line that only says what the+// lists show (.suffix-said, a provider's Names & levels) is said again.function redrawSuffix() {const mode = suffixMode();- for (const seg of document.querySelectorAll(".suffix-segs")) {+ for (const seg of document.querySelectorAll(".suffix-segs, .suffix-said")) {if (seg.dataset.mode === mode) continue;const drawn = seg.drawnAgain;- seg.replaceWith(suffixSegs(drawn));+ if (seg.matches(".suffix-said")) seg.dataset.mode = mode;+ else seg.replaceWith(suffixSegs(drawn));drawn?.(mode);}}@@ -24247,6 +24256,20 @@ function openSettings() {closeAgentMenu();show("settings");}+// openSettingsAt: Settings at a row, in sight and lit; e is the click+async function openSettingsAt(e, tab, row) {+ const go = scrollOnPurpose(e, 3000);+ closeProtoMenu();+ closeAgentMenu();+ if (!await show("settings")) return;+ if (setQuery) { $("#setQ").value = ""; searchSettings(""); }+ setSetTab(tab, true);+ if (!row) return;+ if (go) { row.scrollIntoView({ block: "center" }); arrived($("#view-settings")); }+ row.classList.remove("flash");+ void row.offsetWidth; // the light goes again on a second click+ row.classList.add("flash");+}$("#prefs").onclick = () => { openSettings(); $("#prefs").blur(); };// The header's refresh reads again what the page shown draws (#844): ondiff --git a/internal/gui/assets/i18n.js b/internal/gui/assets/i18n.jsindex 6fcf539a3..3bb5b575d 100644--- a/internal/gui/assets/i18n.js+++ b/internal/gui/assets/i18n.js@@ -1020,6 +1020,8 @@ const I18N = {"Share used": "已用比例","Amount": "金额","Provider in model names": "模型名带供应商",+ "“Provider in model names” is one setting for every provider": "「模型名带供应商」是全局设置,对所有供应商生效",+ "Change in Settings": "在设置中修改","Not on names I set": "自定义名称不带供应商","Agents’ lists show “{label}”": "Agent 的模型列表里显示为「{label}」","Changes nothing in {agents}: magpie’s names don’t reach their model lists": "对 {agents} 不起作用:它们的模型列表里没有 magpie 给的名称",@@ -4895,6 +4897,8 @@ const I18N = {"Share used": "已用比例","Amount": "金額","Provider in model names": "模型名帶供應商",+ "“Provider in model names” is one setting for every provider": "「模型名帶供應商」是全域設定,對所有供應商生效",+ "Change in Settings": "在設定中修改","Not on names I set": "自定義名稱不帶供應商","Agents’ lists show “{label}”": "Agent 的模型列表裡顯示為「{label}」","Changes nothing in {agents}: magpie’s names don’t reach their model lists": "對 {agents} 不起作用:它們的模型列表裡沒有 magpie 給的名稱",@@ -8732,6 +8736,8 @@ const I18N = {"Share used": "使用率","Amount": "金額","Provider in model names": "モデル名にプロバイダ",+ "“Provider in model names” is one setting for every provider": "「モデル名にプロバイダ」はすべてのプロバイダに共通の設定です",+ "Change in Settings": "設定で変更","Not on names I set": "自分で付けた名前には付けない","Agents’ lists show “{label}”": "エージェントの一覧では「{label}」と表示されます","Changes nothing in {agents}: magpie’s names don’t reach their model lists": "{agents} には効きません:そのモデル一覧には magpie の名前が出ません",@@ -12603,6 +12609,8 @@ const I18N = {"Share used": "Verbrauchter Anteil","Amount": "Betrag","Provider in model names": "Anbieter in Modellnamen",+ "“Provider in model names” is one setting for every provider": "„Anbieter in Modellnamen“ gilt für alle Anbieter",+ "Change in Settings": "In den Einstellungen ändern","Not on names I set": "Nicht bei eigenen Namen","Agents’ lists show “{label}”": "In den Listen der Agenten: „{label}“","Changes nothing in {agents}: magpie’s names don’t reach their model lists": "Wirkt nicht in {agents}: deren Modelllisten zeigen magpies Namen nicht",diff --git a/internal/gui/core_budget_test.go b/internal/gui/core_budget_test.goindex 307abed66..d53502151 100644--- a/internal/gui/core_budget_test.go+++ b/internal/gui/core_budget_test.go@@ -15,7 +15,7 @@ import (// so a page can't quietly grow back into the core; a change that needs more// raises them and says why in its commit.const (- appScriptBudget = 1_335_000 // app.js: 1,198,239 after Usage left (P2); 1,218,098 with the 10-15 fixes to pages still in the core; 1,232,466 with the provider editor's Advanced fold and every dialog holding its place, the core's own (10-16); 1,250,533 with the quota refresh kept through redraws, the core's own since the tray panel draws it too, plus 1.5% (#2397); 1,269,083 with Free first's option in the provider editor's ROUTINGS, which the Routing page reads too, plus 1.5%; 1,272,726 with the Providers page drawing its last list at once (#1519), the core's page, and the Routing trace's account names read without Object.entries (#1481), plus 1.5%; a dialog growing out of the row that opened it and folding back into it, the core's own since every page's dialogs open through it (10-20); Codex's and Claude Code's own settings moved from Settings into the agent's row on the Agents page, the core's own since the tray panel and the window both draw them (10-20); 1,314,432 with Settings › Privacy's record of what was masked (its summary, the records view and the local model's controls), which belongs to Settings, the core's own, plus 1.5%+ appScriptBudget = 1_337_000 // app.js: 1,198,239 after Usage left (P2); 1,218,098 with the 10-15 fixes to pages still in the core; 1,232,466 with the provider editor's Advanced fold and every dialog holding its place, the core's own (10-16); 1,250,533 with the quota refresh kept through redraws, the core's own since the tray panel draws it too, plus 1.5% (#2397); 1,269,083 with Free first's option in the provider editor's ROUTINGS, which the Routing page reads too, plus 1.5%; 1,272,726 with the Providers page drawing its last list at once (#1519), the core's page, and the Routing trace's account names read without Object.entries (#1481), plus 1.5%; a dialog growing out of the row that opened it and folding back into it, the core's own since every page's dialogs open through it (10-20); Codex's and Claude Code's own settings moved from Settings into the agent's row on the Agents page, the core's own since the tray panel and the window both draw them (10-20); 1,314,432 with Settings › Privacy's record of what was masked (its summary, the records view and the local model's controls), which belongs to Settings, the core's own, plus 1.5%; 1,336,481 with a provider's Names & levels saying Provider in model names is Settings' and opening it there (joe), and Settings' Image recognition saying where a custom provider's model is marked (nexnull), both in the core's own pages, with no room added (10-23)coreScriptBudget = 1_528_800 // every core script: 1,358,034 after Usage left; 1,380,003 with them; 1,405,937 with the fold; 1,426,102 with 10-16's core work (the GitHub list loading, the move to plugins, Settings › Long conversations), plus 1.5% (#2612); 1,447,368 with loadBack, the window's one state read per return, which every page needs and so is the core's own (1,446,845 before it, 155 bytes under), plus 1.5%; OpenCode Zen's card saying OpenCode tells no key its balance adds ~390 bytes inside it; 1,472,589 with the dialog that grows out of its row and the agents' own settings in their rows, on main's 10-20 core work (the Providers page's last list, the Routing trace's names), plus 1.5% (10-20); 1,506,192 with Settings › Privacy's record of what was masked, plus 1.5%)diff --git a/internal/gui/tests/name-suffix-remote.test.cjs b/internal/gui/tests/name-suffix-remote.test.cjsindex 1bd93abfc..6d263408e 100644--- a/internal/gui/tests/name-suffix-remote.test.cjs+++ b/internal/gui/tests/name-suffix-remote.test.cjs@@ -3,8 +3,8 @@// 模型名字还是带上了…): a remote magpie's models are named in its list with// its own provider after them ("DeepSeek Chat · Relay A"), by that magpie's// setting, and Off here kept it. Names & levels says what the agents' lists-// show under each choice: On, that label with this provider after it; Off,-// the model's name there alone. Every language.+// show under each choice, saved on Settings: On, that label with this+// provider after it; Off, the model's name there alone. Every language.const assert = require("node:assert/strict");const fs = require("node:fs/promises");const path = require("node:path");@@ -13,9 +13,9 @@ const { chromium, webkit } = require("playwright");const assets = path.resolve(__dirname, "../assets");-function serve(lang, posts) {- let cur = { lang, theme: "light", plainNames: false, plainOwnNames: false };- const state = { agents: [{ id: "codex", name: "Codex", path: "/test/codex", fields: [] }], profiles: [], settings: { lang, theme: "light" } };+function serve(lang, posts, plainNames) {+ let cur = { lang, theme: "light", plainNames, plainOwnNames: false };+ const state = { agents: [{ id: "codex", name: "Codex", path: "/test/codex", fields: [] }], profiles: [], settings: { lang, theme: "light", plainNames } };const models = [{ id: "relaya/deepseek-chat", name: "DeepSeek Chat · Relay A", plain: "DeepSeek Chat", on: true, efforts: [], images: false },];@@ -64,19 +64,20 @@ for (const engine of (process.env.BROWSER ? [process.env.BROWSER] : ["chromium",page.setDefaultTimeout(5000);const errors = [], posts = [];page.on("pageerror", (e) => errors.push(e.message));- await page.route("**/*", serve(lang, posts));- await page.goto("http://magpie.test/?view=providers");- const tr = (k, vars = {}) => page.evaluate(([k, vars]) => t(k, vars), [k, vars]);- await page.locator(".row.provider").click();- if (!(await page.locator(".mnames:not([hidden])").count())) await page.getByRole("button", { name: await tr("Names & levels"), exact: true }).click();- const sfx = page.locator(".mnames:not([hidden]) .msuffix");- await sfx.waitFor();- assert.equal((await sfx.locator(".opt.on").textContent()).trim(), await tr("On"));- assert.equal(await sfx.locator(".hint").textContent(), await tr("Agents’ lists show “{label}”", { label: "DeepSeek Chat · Relay A · Remote magpie" }));- await sfx.locator(".opt", { hasText: await tr("Off") }).click();- await page.locator(".mnames:not([hidden]) .msuffix .opt.on", { hasText: await tr("Off") }).waitFor();- await says(sfx.locator(".hint"), await tr("Agents’ lists show “{label}”", { label: "DeepSeek Chat" }));- assert.deepEqual(posts, [{ mode: "off" }]);+ // Provider in model names is Settings' (joe on Discord): the editor+ // says what each saved choice shows, On and then Off+ for (const [plain, label] of [[false, "DeepSeek Chat · Relay A · Remote magpie"], [true, "DeepSeek Chat"]]) {+ await page.unrouteAll({ behavior: "wait" });+ await page.route("**/*", serve(lang, posts, plain));+ await page.goto("http://magpie.test/?view=providers");+ const tr = (k, vars = {}) => page.evaluate(([k, vars]) => t(k, vars), [k, vars]);+ await page.locator(".row.provider").click();+ if (!(await page.locator(".mnames:not([hidden])").count())) await page.getByRole("button", { name: await tr("Names & levels"), exact: true }).click();+ const sfx = page.locator(".mnames:not([hidden]) .msuffix");+ await sfx.waitFor();+ await says(sfx.locator(".hint"), await tr("Agents’ lists show “{label}”", { label }));+ }+ assert.deepEqual(posts, []);assert.deepEqual(errors, []);});}diff --git a/internal/gui/tests/name-suffix-saved.test.cjs b/internal/gui/tests/name-suffix-saved.test.cjsindex 1c8eebc3c..4a128befc 100644--- a/internal/gui/tests/name-suffix-saved.test.cjs+++ b/internal/gui/tests/name-suffix-saved.test.cjs@@ -129,13 +129,13 @@ for (const engine of (process.env.BROWSER ? [process.env.BROWSER] : ["chromium",test(`${engine} ${lang} ${width}px: the provider editor opened first shows the saved Off and the name without its provider`, async (t) => {const posts = [];- const { page, errors, tr } = await launch(t, engine, lang, width, OFF, {}, posts);+ // the state answering after the editor is drawn: its line follows it+ const { page, errors, tr } = await launch(t, engine, lang, width, OFF, { stateDelay: 600 }, posts);await page.goto("http://magpie.test/?view=providers");await page.locator(".row.provider").click();if (!(await page.locator(".mnames:not([hidden])").count())) await page.getByRole("button", { name: await tr("Names & levels"), exact: true }).click();const sfx = page.locator(".mnames:not([hidden]) .msuffix");await sfx.waitFor();- await picked(sfx.locator(".opt.on"), await tr("Off"));await says(sfx.locator(".hint"), await tr("Agents’ lists show “{label}”", { label: "My Sol" }));assert.deepEqual(posts, [], "nothing is written");assert.deepEqual(errors, []);diff --git a/internal/gui/tests/name-suffix-where-named.test.cjs b/internal/gui/tests/name-suffix-where-named.test.cjsindex f5b8acc50..63f4e5fe5 100644--- a/internal/gui/tests/name-suffix-where-named.test.cjs+++ b/internal/gui/tests/name-suffix-where-named.test.cjs@@ -2,9 +2,10 @@// #868 (模型名称太长了…路由组的名称也很长。会看不到后面代表什么): an agent's// narrow model menu cut "Long name · routing group" short, and the setting// that drops the suffix (Settings › Provider in model names, #335) wasn't-// found. It is now offered where names are given too: the provider editor's-// Names & levels has the three choices and says what the agents' lists will-// show ("My Sol · Relay"). For the routing groups it is one setting for them+// found. Names & levels says what the agents' lists will show ("My Sol ·+// Relay") and where the setting is. Its three choices were in there too, and+// read as this provider's own (joe on Discord), so the editor now says it is+// one setting for every provider and opens Settings at it. For the routing groups it is one setting for them// all, so it sits over the groups on Routing, not in one group's editor (PAMI// on Discord: in there it read as that group's alone); the editor only says// what its group will be called ("Fast · routing group") and where that is@@ -19,9 +20,9 @@ const { chromium, webkit } = require("playwright");const assets = path.resolve(__dirname, "../assets");const words = {- en: { names: "Names & levels", edit: "Edit", own: "Not on names I set", on: "On", off: "Off", label: "In agents’ lists",+ en: { names: "Names & levels", edit: "Edit", general: "General", global: "“Provider in model names” is one setting for every provider", change: "Change in Settings", own: "Not on names I set", on: "On", off: "Off", label: "In agents’ lists",shows: (l) => `Agents’ lists show “${l}”`, above: " · “· routing group” is set for every group above", setting: "Names in agents’ lists" },- zh: { names: "名称与推理档位", edit: "编辑", own: "自定义名称不带供应商", on: "开启", off: "关闭", label: "Agent 列表里的名称",+ zh: { names: "名称与推理档位", edit: "编辑", general: "常规", global: "「模型名带供应商」是全局设置,对所有供应商生效", change: "在设置中修改", own: "自定义名称不带供应商", on: "开启", off: "关闭", label: "Agent 列表里的名称",shows: (l) => `Agent 的模型列表里显示为「${l}」`, above: " · 是否带「· routing group」在上方统一设置,对所有路由组生效", setting: "Agent 列表里的名称" },};@@ -90,7 +91,7 @@ const scrolls = (page) => page.evaluate(() => [scrollY, ...[...document.querySelfor (const engine of (process.env.BROWSER ? [process.env.BROWSER] : ["chromium", "webkit"])) {for (const lang of ["en", "zh"]) {const w = words[lang];- test(`${engine} ${lang}: Names & levels says what agents' lists show and drops the provider there`, async (t) => {+ test(`${engine} ${lang}: Names & levels says what agents' lists show and opens the setting on Settings`, async (t) => {const posts = [];const { page, errors } = await launch(t, engine, lang, posts);await page.goto("http://magpie.test/?view=providers");@@ -98,15 +99,35 @@ for (const engine of (process.env.BROWSER ? [process.env.BROWSER] : ["chromium",if (!(await page.locator(".mnames:not([hidden])").count())) await page.getByRole("button", { name: w.names, exact: true }).click();const sfx = page.locator(".mnames:not([hidden]) .msuffix");await sfx.waitFor();- assert.deepEqual((await sfx.locator(".segs .opt").allTextContents()).map((s) => s.trim()), [w.off, w.own, w.on]);- assert.equal((await sfx.locator(".opt.on").textContent()).trim(), w.on);+ // no choices in one provider's editor: it says the setting is every+ // provider's, and where it is+ assert.equal(await sfx.locator(".segs").count(), 0, "the provider's editor has the setting for every provider");assert.equal(await sfx.locator(".hint").textContent(), w.shows("My Sol · Relay"));- const before = await scrolls(page);- await sfx.locator(".opt", { hasText: w.own }).click();- await page.locator(".mnames:not([hidden]) .msuffix .opt.on", { hasText: w.own }).waitFor();- await says(sfx.locator(".hint"), w.shows("My Sol"));+ assert.equal(await sfx.locator(".where").textContent(), w.global);+ assert.equal(await sfx.evaluate((e) => getComputedStyle(e).borderLeftWidth), "0px");+ assert.equal(await page.locator("#view-providers select").count(), 0);+ // the button opens Settings › General at the setting, lit+ await sfx.getByRole("button", { name: w.change, exact: true }).click();+ const row = page.locator("#view-settings .row.pref", { has: page.locator("#plainNamesSegs") });+ await row.waitFor();+ assert.ok(await row.isVisible(), "the setting is shown");+ assert.equal((await page.locator("#view-settings [role=tab][data-set][aria-selected=true]").textContent()).trim(), w.general);+ await page.locator("#view-settings .row.pref.flash #plainNamesSegs").waitFor({ state: "attached" });+ const box = await row.boundingBox(), vh = page.viewportSize().height;+ assert.ok(box.y >= 0 && box.y + box.height <= vh, `the setting is in view (${box.y})`);+ // picked there, it posts once, and the editor's line follows it+ await row.locator(".opt", { hasText: w.own }).click();+ await page.locator("#plainNamesSegs .opt.on", { hasText: w.own }).waitFor();assert.deepEqual(posts, [{ mode: "own" }]);- assert.deepEqual(await scrolls(page), before, "the click scrolled the page");+ // back on Providers, its editor says it+ await page.locator("button[data-view=providers]").first().click();+ await page.locator("#view-providers.on, #view-providers:not([hidden])").first().waitFor();+ await page.locator("#view-providers .row.provider:visible, .mnames:not([hidden])").first().waitFor();+ if (!(await page.locator(".mnames:not([hidden])").count())) {+ if (await page.locator(".row.provider").isVisible()) await page.locator(".row.provider").click();+ if (!(await page.locator(".mnames:not([hidden])").count())) await page.getByRole("button", { name: w.names, exact: true }).click();+ }+ await says(page.locator(".mnames:not([hidden]) .msuffix .hint"), w.shows("My Sol"));assert.deepEqual(errors, []);});@@ -145,7 +166,8 @@ for (const engine of (process.env.BROWSER ? [process.env.BROWSER] : ["chromium",assert.equal(await page.locator("#view-routing select").count(), 0);assert.equal(await set.evaluate((e) => getComputedStyle(e).borderLeftWidth), "0px");assert.equal(await row2.evaluate((e) => getComputedStyle(e).borderLeftWidth), "0px");- const missing = await page.evaluate(() => ["Agents’ lists show “{label}”", "In agents’ lists", "Not on names I set", "Provider in model names",+ const missing = await page.evaluate(() => ["Agents’ lists show “{label}”", "In agents’ lists",+ "“Provider in model names” is one setting for every provider", "Change in Settings", "Not on names I set", "Provider in model names","Names in agents’ lists", "“· routing group” is set for every group above","Whether “· routing group” follows a group’s name in the agents’ lists: one setting for every group, and for the provider after each model’s name, as on Settings."].filter((k) => !I18N.zh[k] || !I18N.ja[k] || !I18N.de[k]));diff --git a/internal/gui/tests/names-fold.test.cjs b/internal/gui/tests/names-fold.test.cjsindex 9d562f076..54f1b01a7 100644--- a/internal/gui/tests/names-fold.test.cjs+++ b/internal/gui/tests/names-fold.test.cjs@@ -85,12 +85,6 @@ for (const engine of (process.env.BROWSER ? [process.env.BROWSER] : ["chromium",await open.evaluate((n) => { n.scrollTop = n.scrollHeight; });const [nTop, hTop] = await Promise.all([open.evaluate((n) => n.getBoundingClientRect().top), head.evaluate((h) => h.getBoundingClientRect().top)]);assert.ok(Math.abs(hTop - nTop) <= 2, `the head scrolled away: ${hTop} vs ${nTop}`);- if (w.own) {- // picking Provider in model names leaves it open, and foldable- await open.locator(".msuffix .opt", { hasText: w.own }).click();- await page.locator(".mnames:not([hidden]) .msuffix .opt.on", { hasText: w.own }).waitFor();- assert.deepEqual(posts, [{ mode: "own" }]);- }const before = await scrolls(page);await page.locator(".mnames:not([hidden]) .mnhead button").click();await open.waitFor({ state: "detached" }).catch(() => {});