Files
magpie/internal
yetone 6fa3109ea7 qwen: /model names magpie's models as Names in agents' lists says (love1sbug on X)
The same report as the Claude Code fix before this one: Names in agents'
lists changed nothing in Qwen Code. magpie wrote each catalog model's
modelProviders.openai[].name as "magpie/<id>", and Qwen's /model shows
name as the row's label (the id beside it: @qwen-code/qwen-code's
dialog, `label: model.name`), so the setting had nothing to change.

qwenEntriesAt now writes the model's name as magpieModels gives it,
provider.Labels: "pro · DeepSeek" with the setting On, "pro" Off, a name
the user gave without its provider under Not on names I set. An entry
is found by its id, never by name, so the user's own entries ("[IdeaLab]
glm-5") and magpie's pick are unchanged.

TestQwenNamesFollowSuffixMode walks On, Not on names I set, Off and On
again through provider.SetSuffixMode with SyncCatalog and reads the
names back; it fails on the old qwen.go. TestQwen finds its entry by id.

Run: go test -tags nogui ./internal/agent ./internal/gui
./internal/provider; gofmt -l; go vet on darwin, GOOS=linux,
GOOS=windows.
Not tried: a real qwen in a sandbox HOME showing the new names.
2026-10-13 14:06:23 +08:00
..
…
…