Commit Graph
1 Commits
Author SHA1 Message Date
yetone 80a4f21940 gui: an agent's current model stays listed under its provider in the picker's rail: with OpenAI picked in the rail, Codex on gpt-6.1-sol showed every OpenAI model but gpt-6.1-sol, as if magpie had dropped it (#1229)
The picker lists the current model first, out of its provider's rows; that
row had no group, so a provider picked in the rail filtered it out, and a
provider whose only model is the current one lost its rail icon. The row
now keeps its provider as `home` for the rail's filter, and the rail's
providers are taken in catalog order before the current model is lifted.

picker-rail-current.test.cjs: red on origin/main in all 8 cases (Chromium
and WebKit, 1000px and 440px, Codex connected and not), "gpt-6.1-sol under
OpenAI once" listing only gpt-6-astra and gpt-6-sol; green with the change.
2026-10-08 10:29:14 +08:00