Files
magpie/docs
yetone b515538ad6 gateway: the model list names each model's service tiers for every client, so Cindy offers Fast where it is offered (#1914, tsuixl)
Cindy reads supportsFastMode from a model's service_tiers in /v1/models
(a priority entry), and its import link asks /v1/models with no magpie
header. The models handler gave service_tiers (codexTiers, the tiers
Codex here is offered on each model, #1234) only to a magpie asking with
X-Magpie-Drawers, so Cindy never showed Fast on GPT-6-Astra / GPT-6.1-Sol.
Every client now gets them; a model with no tier says nothing, and the
remote-magpie path is unchanged.

The context ring showing "—" in the same report is not touched: per the
reporter's own reading it is Cindy's Codex runtime wanting native
metadata, which /v1/models already carries as context_window.

Run:
- TestModelsListTiersForEveryClient (new): a relay's gpt-6.1-sol lists
  priority, its glm-5 lists none, on a plain GET /v1/models. Red on the
  old handler ("" for gpt-6.1-sol), green now.
- go test -tags nogui ./internal/gateway on every test in the 39 files
  that GET /v1/models plus every *Tier* and *Fast* test: ok (110s).
- gofmt -l clean; go vet darwin, GOOS=linux -tags nogui, GOOS=windows.
- Not tried in a real Cindy: whether Cindy's Fast then sends
  service_tier priority through its Codex runtime is left to the
  reporter on the next release.
2026-10-13 15:50:19 +08:00
..