@avalongarden6 on X (11-09, with screenshots): TRAE CN's app offers
DeepSeek-V4.1-Flash, GLM-5.3 and Kimi-K3 思考强度 轻/高/极高, and 极高 is
the model's maximum. magpie ranged the Trae CN member of a routing group
低–很高 (low–xhigh) while WorkBuddy, Qoder and WENMAI members ranged
…–最高 (max). magpie offers a group the levels its members share
(buildGroupEntries in internal/provider/group.go), so with Trae CN in it
the group lost max for every member.
A list entry whose top level is extra_high and that names no max of its
own is now offered max beside low/high/xhigh (offered, in variantsOf), and
effortOf sends max as extra_high, as it sends xhigh. magpie reads the
variants' keys as the model's Efforts (internal/provider/plugins.go), so
the member ranges 低–最高 (effortSpan in app.js) and a group set to max
fits max to the member's own levels (fitFor, catalog.NearestEffort), finds
it, and the plugin sends Trae extra_high. An entry that names Trae's own
max keeps it: max is max, extra_high is xhigh. A model topping lower
(light/high) is offered no max and sent none for it, as before.
Trae has no mover in magpie (no trae in internal/provider/migrate*.go), so
no min is raised.
Run on mote: packages/trae bun test with HOME under a temp dir, 246 pass
0 fail; bun scripts/check.mjs trae ok (registry ok).
Broken by hand: without effortOf's max -> extra_high line, 4 reasoning
tests go red (the #434 chatBody case, the variant round trip, the new
max/xhigh mapping test and the fetch-level max test); with variantsOf
offering the entry's own levels only, 4 go red (the variant lists and the
new test).
Not tried: a real TRAE CN account (no request with extra_high from max
was sent to Trae itself), nor a magpie routing group end to end; the
range and the group's max are read from magpie's code, not seen in its
GUI. A user who ticked a Trae model's levels by hand in magpie keeps that
list, without max, until they tick it.