ac4af582301a4e8a29245dbba767eba31334ddf9
4
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
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
|
||
|
|
2d6939ec64 |
gateway: Automatic draws with the newest GPT Image, and a ChatGPT account's shows as GPT Image (StarBits on X)
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. |
||
|
|
7c5c90f958 |
provider: a ChatGPT account's GPT Image is tested by drawing, as the gateway draws it (ChangQiu on Discord)
ChangQiu added gpt-image-2.5 to a ChatGPT (Codex) subscription, and the editor's Test failed. The Test asked every model as a chat on the Codex backend's /responses, and that endpoint refuses an image model: 400 model_not_found, "The 'gpt-image-2.5' model is not supported when using Codex with a ChatGPT account" (a real call). Drawing through the gateway already worked: drawsFamily lets any gpt-image-* draw on /backend-api/codex/images/generations. What the vendor's own clients send: - Codex CLI (codex-rs ext/image-generation tool.rs) names one model, IMAGE_MODEL = "gpt-image-2". - CLIProxyAPI (executor/codex_openai_images.go) passes gpt-image-1.5 to 2.6 and their -flare/-sunburst variants straight into the same /images/generations JSON. magpie sends the same shape. - Real calls with one account: gpt-image-2.5, gpt-image-2 and the made-up gpt-image-9.9-nope each answered 200 with the same thing: 1536x1024, 12 input / 343 output tokens, x-codex-active-limit imagegen_premium. The backend picks the model itself (#1865), so the list keeps one GPT Image. Changes: - provider.testOne: a ChatGPT account's gpt-image-* is tested on {codex base}/images/generations with a tiny drawing. probeOnce adds Codex's image headers (Accept json, x-codex-imagegen-request-id, x-codex-image-turn-id), as gateway sendWith does. - The editor's Image models row, for a provider whose vendor picks the drawer (gateway.VendorPicksDrawer, new providerInfo.drawPicks), says why only one GPT Image is listed. It reuses an existing string, so there are no new keys. After the rebase onto |
||
|
|
3cd55f6547 |
images: a ChatGPT account lists one GPT Image, said to be ChatGPT's pick (#1865)
Settings › Models › Image generation offered "GPT Image 2 · Codex" and
"GPT Image 2.5 · Codex". chatgpt.com/backend-api/codex/images/generations
ignores the model (and size): tested with the owner's Pro account, it
answers gpt-image-2, gpt-image-2.5, gpt-image-2.5-sunburst and a made-up
"x" with 200 and the same image (#1865 comment 6131731318), as
|