Commit Graph
2 Commits
Author SHA1 Message Date
yetone 88b541a25c images: every pointer names Settings › Models › Images, where the page is
The image models moved under Settings › Models, but the Library's Magpie
Image sheet, the MCP server's instructions to agents, the gateway's
"no image model" errors, the video tool's text and the docs still sent
users to "Settings › Images", a tab that no longer exists (the scattered
settings audit after netube99 on X). Every user-facing string now names
Settings › Models › Images in en, zh, zh-TW, ja and de, as do the site's
Qwen docs (en, zh, ja), llms-full.txt, the subsystem pages and comments.

Run in the tree with this change and the rest of the audit's fixes
(mote, base cd0ba05c2):
- go vet ./internal/gui ./internal/gateway ./internal/agent
  ./internal/provider ./internal/settingsapi: ok
- go test -run 'Image|Draw|Video|Hidden|Group|Settings' ./internal/gui
  ./internal/gateway ./internal/settingsapi: ok; ./internal/imagemcp,
  ./internal/library, ./internal/catalog: ok
- GUI: i18n-keys, i18n-en-no-cjk, image-models-hide,
  library-browser-setup: pass in Chromium and WebKit
- gofmt -l: nothing
Not tried: a real agent reading the new MCP instructions (text only).
2026-11-09 21:51:53 +08:00
yetone d9cf85ae8b images: a routing group can be Settings > Images' image model (7up6666 on X)
Settings > Images > Image generation now offers each routing group with
a member that draws (gateway.GroupDraws: a member among its provider's
Drawers), with no provider of its own, so the picker puts it under
Routing groups as the Image recognition picker does. Picked, "group/<id>"
is what a request naming no model draws with, the Magpie Image MCP's
included: the gateway already drew on a group member by member in its
routing's order (drawingGroup, #2005), it was only never offered.

A picked group none of whose members draws any more (all removed, or a
group of chat models) is DrawerMissing (drawerMissing): the row says the
pick is missing and Automatic draws in its place, as for a removed model.
Before, a group of chat models would have been sent the drawing.
ListedDrawer and DrawerHidden leave a group ref as it is.

Run:
- mote, at this change on e84f40369: gofmt -l, go vet ./...,
  GOOS=linux go vet -tags nogui ./..., GOOS=windows go vet ./..., the
  Linux and Windows builds: ok. go test -count=1 -run
  "Draw|Drawer|Image|Budget|HiddenDrawers|Account|Aside" over
  internal/provider, gateway, gui and agent: all four ok (the new tests,
  TestImageGroupMovesOnToTheNextMember and the size budgets among them).
- wsl-run, Chromium and WebKit: the seven image GUI files and
  i18n-keys, 182 of 182.
- Rebased again onto 4d9058a98 (which changed app.js, api.go and
  i18n.js, "Picked only" among them) and run there: go vet
  ./internal/gui and go test -run "Budget|Image|Drawer" ./internal/gui
  ok; wsl-run, both engines: image-models-hide,
  provider-picked-only-shows-picks, images-missing and i18n-keys, 90 of 90.
  Pushed on 0366e35c1, which changes only internal/catalog after it.

New tests: TestImageGroupPickedInSettingsDraws (gateway: the group
pick draws with no model named, over HTTP and through the Magpie Image
MCP, moving past a member's 502; a chat-only group and one whose drawers
are gone are missing), TestImageGenOffersDrawingGroups (gui).

Broken by hand:
- drawerMissing without the GroupDraws check: the gateway test is red
  ("chat-only group: drawer \"group/talkers\" missing \"\"").
- api.go without the group loop: the gui test is red (group not offered).

Not tried: a real group of real image accounts; a GUI test (app.js is
unchanged: its picker already files an entry with no provider under
Routing groups); the real Linux app.
2026-10-29 15:50:37 +08:00