feat(agents): two-page model picker with pinned models, segmented effort, Reset and ACP cost badges (#3583)

The composer model picker becomes a two-page popover for every agent: page 1 lists models with search, a Pinned section, usage multiplier and description, and a summary bar for the active model; page 2 configures a model with Back, Reset to defaults, Pin, a segmented effort control and the cost category / multiplier from ACP _meta (copilotPriceCategory, copilotUsage) where present. Option defaults are kept across same-model updates for Reset. A contextTier / context_tier option is handled as per-model like effort. Agents with no effort, model options or cost metadata keep the plain select.

Co-authored-by: dengliu <5108773+dengliu@users.noreply.github.com>
This commit is contained in:
Deng Liu
2026-11-16 02:07:32 +08:00
committed by GitHub
co-authored by dengliu
parent 8535fb7645
commit 7b6962001b
18 changed files with 928 additions and 228 deletions
+7
View File
@@ -158,3 +158,10 @@
.option {
display: contents;
}
.rowAction {
display: inline-flex;
align-items: center;
flex: none;
margin-left: 2px;
}