2 Commits
Author SHA1 Message Date
yetone ad4361fb93 cli: magpie models and magpie provider <id> name the models a provider's list has that it doesn't expose, and why (not picked, or only the first ones with none picked); a group's member that is one of them says "not exposed · magpie provider models <id> +<model>" rather than only "not served" (MOMO on Discord: 35 exposed of 37, opencode-go/deepseek-flash missing from magpie models)
Verified: TestModelsSayWhatIsNotExposed and TestGroupMemberNotExposedSaysHow
fail on the old code (magpie models and magpie provider og never name
deepseek-flash; magpie groups says only "(not served)") and pass with it.
2026-10-08 18:13:11 +08:00
yetone 3d5b212f6a cli: magpie provider models <id> +model adds a model to those exposed and -model takes one out, the rest kept; the whole-list form still replaces, and now says so with the count before and after and how to add one instead (MOMO on Discord: 35 exposed became 8 with nothing said)
provider set models= says the same. Taking out a model that isn't
exposed, mixing +/- with plain ids, or leaving none exposed (which would
mean the default list) is an error that saves nothing.

Verified: TestProviderModelsAddsRemovesAndSaysWhatItReplaced fails on
the old code ("+deepseek-flash left [+deepseek-flash]") and passes with it.
2026-10-08 18:13:11 +08:00