From 6915c8cdea509a0fd9da9f3688486a703b4dedbe Mon Sep 17 00:00:00 2001 From: yetone Date: Tue, 27 Oct 2026 18:57:41 +0800 Subject: [PATCH] agents: a model list's button says its ticks: all, one or two by name, or how many of how many (NG_shiyu on X) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NG_shiyu on X: the closed model field reads 「路由组,模型+数字」 on one row and just 「路由」 on another, while the menu opened shows every model either way. Why: two different controls stand in that place. An agent whose own model menu is the list picked here (ZCode, Claude Desktop, Cursor Private Inference, WorkBuddy, T3 Code, ...: listsMenu) has a multi-select list, and menuSaid named its first two ticked models and "+N". Routing groups are listed first, so with every model on it read "Never stuck, DeepSeek Pro +2": like a pick of one group and one model. Every other agent's start picker names the one model or group it starts on, e.g. a group named 路由. Neither said "all". Decided: the list's button (and the panel row's words) says what its ticks are, as the open checklist shows them and as the Models entry already words it (fillModelsEntry): - every model ticked: "All N models"; - one or two ticked: their names (蓝猫's few-picked case, 03421f9f4); - more: "Showing x / N models"; - none: "No models". The start pickers keep naming the one model the agent starts on: that is a single choice and its open menu ticks exactly that one. No new strings; all four are translated already. Run: - agent-menu-label.test.cjs (new): a ZCode list of 4 with the routing group first, window and panel (360px), en zh zh-TW ja de, Chromium and WebKit: all pass. It ticks all -> 3 -> 2 -> 1 -> none -> all back and checks the button, its aria-label and the panel's words, no "+N", no