Files
magpie/docs
yetone e949c0ca8f agent: Snow CLI's light model (basicModel) can be picked apart from its main model on the Agents page (#1457)
zRain (#1457) asked for Snow's advancedModel and basicModel to be chosen
separately; magpie wrote the picked model to both. Snow 0.9.2 asks
basicModel for its summaries, compaction and file search
(utils/config/apiConfig.ts; agents/compactAgent, summaryAgent).

A "small" field, as OpenCode's and Crush's, sets basicModel on magpie's
profile (profiles/magpie.json, copied to config.json): a model through
magpie only, since both models go to the profile's one baseUrl, the
gateway. Empty, it follows the main model. A small model of its own stays
through a new main model and a catalog sync (snowProfileFor keeps a
basicModel that differed from the advancedModel it replaces), and one
the gateway no longer resolves goes back to following.

On a profile of the user's own the field reads empty, offers nothing and
refuses a pick: that profile's models are theirs to set in Snow. The
Agents row leaves a small field with nothing to offer and no value out,
as it does an effort with none (app.js none()).

Tests: TestSnowSmallModel (pick, read back, refuse a non-magpie model,
kept through a new model and Sync, follows again when cleared,
Disconnect). With the keep in snowProfileFor removed it fails "small
after a new model and sync". TestSnow* and TestSync* pass under a temp
HOME with pinned caches.
2026-10-10 18:20:56 +08:00
..