What changed
- Claude Desktop builds older than the mythos word (the Store's 1.6608.2,
#2426) keep a gateway model only when its id reads as a sonnet|opus|haiku
tier or has claude, sonnet, opus, haiku or anthropic in it, so every
reasoning-level model listed by mythos-magpie-<n> vanished from their
model menu. desktopModels now takes what the request's User-Agent says of
the build (desktopKnowsMythos: " Claude/2.x" and up takes mythos,
anything older or unreadable does not) and lists such a model by its
plain anthropic/magpie-<n> alias, which every build keeps, instead.
Those builds have no mythos effort table either, so no picker is lost
there. A build that says 2.x keeps the picker alias, and Desktop's
Code-tab ids (Claude Code's) are unchanged.
- TestClaudeDesktopEffortIDs asks as 2.7032.0 now; the old build is
covered by TestClaudeDesktopOldBuildModels and TestDesktopKnowsMythos.
Run
- before: TestClaudeDesktopOldBuildModels red at 422d057d —
"opencode-go/deepseek-v4.1-flash is listed as mythos-magpie-5487751739,
which the build drops" (the reporter's own id); after: green
- go test -tags nogui -p 2 -count=1 ./internal/gateway/ (full package, ok)
- gofmt -l internal/ clean; go vet and GOOS=linux vet -tags nogui and
GOOS=windows vet clean; go build and GOOS=linux build -tags nogui and
GOOS=windows build ok (darwin vet/build: known trayimage cgo warning
and ld duplicate-library warnings)
Generated-by: GLM-5.3-Flash (ZCode)