ecbot on Discord (11-06): "只有一个GPT image 这样无法确定它生图走了2还是2.5
还是2.6啊 这个有其他的配置方案吗". ChatGPT's images backend picks the GPT Image
version itself, whatever model is named, and neither the reply's body nor
its headers say which one (#1865, from a real Pro account). So magpie can't
show it or let it be chosen. Settings › Images and the provider editor's
Image models said only that one GPT Image is listed. They now say the
version isn't told, and that an OpenAI API key, whose provider lists
gpt-image-2, 2.5 and 2.6 apart, is the way to choose one. en, zh, zh-TW,
ja and de.
Run (mote, before rebasing on 8ee85c59f; budget and GUI rerun after):
- node --test of images-codex-one, chatgpt-image-chip, context-tune and
settings-lines-wrap, in Chromium and WebKit, in every language: 322 pass,
0 fail.
- After the rebase, images-codex-one's Chromium half went red at line 137
(the picker's current row has no box) in 2 of 3 runs on a busy mote. A
fresh origin/main 8ee85c59f was red the same way in 3 of 3 (#4618, its
numbers added there). WebKit passed.
- go test ./internal/gui -run 'TestCoreScriptBudget|TestTune': ok (core
1,533,798 of 1,533,802, not raised).
Broken by hand: nothing; this is a wording change, and the tests check the
new words in every language.
Not tried: probing a real ChatGPT account's images reply in this change (the
live ~/.codex is off limits); this rests on #1865's probe.
Reported-by: ecbot
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.