Files
magpie/docs
yetone f5083e8041 gui: a gateway key's account menu says a provider none of whose accounts is picked is used, and how to keep the key off it (#2077, KKKKKKKEM)
A key held to some accounts (#905) is held to the accounts of the
providers its list names; a provider it names none of is used on every
account. The menu showed that provider's accounts unticked like any
other, so the reporter unticked every Codex account, ticked the rest,
and was surprised that the key's remote magpie still listed and served
Codex's models.

The rule stays as #905 set it (a key held to one Codex seat keeps its
other providers). The menu now notes each account of such a provider
"Used: no <provider> account is picked", and the badge's tooltip says a
key is kept off a provider by picking only other providers' models.
en, zh, zh-TW, ja, de.

Verified:
- gateway-key-accounts.test.cjs (chromium + webkit, en + zh) checks the
  note on OpenAI's key under a key held to a Relay account, Relay's
  unpicked account still noting its provider, the tooltip, and a key
  held to no account showing neither. With the old keys.js it fails:
  expected 'Used: no OpenAI account is picked', actual 'OpenAI' (and
  the zh equivalent).
- gateway-key-*, gateway-keys-off, i18n-keys, gui-zh-tw, gui-ja, gui-de
  in chromium and webkit: 62/62.
- The menu at 420px in German (chromium) and Chinese (webkit): no
  horizontal overflow, the note wraps inside the menu.

Not run: the whole GUI suite.
2026-10-14 15:33:27 +08:00
..