StarBits asked on X whether magpie draws with OpenAI's newest image model,
as the editor showed "gpt-image-2".
- AutoDrawer took the cheapest priced model. An OpenAI key lists
gpt-image-2.5/2.6 with no price (models.dev prices gpt-image-2 only), so
Automatic kept an older GPT Image. Now a GPT Image that a newer one set
up supersedes is never picked (gptImageGenOf: version, then
base/Sunburst > Flare > mini; dall-e and chatgpt-image-latest under all),
and an unpriced one is costed as the newest priced one. Another kind of
model that costs less still wins.
- A ChatGPT (Codex) account's backend ignores the model name (#1865;
re-checked today with a real account: gpt-image-2, 2.6-sunburst,
2.5-flare and a bogus id all drew the same 1536x1024 image), so it is
never superseded, and its chip now reads its name "GPT Image" with the
id as tooltip (/api/providers drawNames). Unticking still saves the id.
- docs/subsystems/gateway-routing.md says both.
Run (on mote, at this tree):
- go test -tags nogui -run 'AutoDrawer|GPTImageGen|Codex.*Image|ImageGen|Drawer|Draw'
./internal/gateway ./internal/gui: ok
- GUI: chatgpt-image-chip (new), image-models-hide, video-models-hide,
group-pick-drawers, chromium + webkit, en/zh/zh-TW/ja/de, 1000 and
360px: 100 pass, 0 fail
- gofmt -l: clean
- Full go test ./... -timeout 45m and Linux/Windows vet: running; record
follows in the next commit or a comment.
Broken by hand: without the supersede filter TestAutoDrawerTakesNewestGPTImage
picks oa/dall-e-3; without the ChatGPT exclusion TestAutoDrawerKeepsChatGPTsOwnPick
picks oa/gpt-image-2.6-sunburst; with the chip label reverted the GUI test
is red.
Not tried: a real OpenAI key's live model list in the app.