Repository navigation
Description
Summary
When an ACP agent advertises its models as config-option select options, it sends a description per model alongside value and name; bb's wire schema carries it through untyped, but the ACP bridge hard-codes description: "" when building its model catalog. When two advertised models share a display name (e.g. two OMP providers both surfacing "GLM 4.7"), the desktop model picker renders two identical rows — the underlying provider/model values differ but are invisible anywhere in the UI.
Versions and environment
- bb from source at commit
00561091a3beba712e00acc5c4544b6a6c483220(forkbradhallett/bb); not tested against a shipped release — see honesty note in Steps. - macOS (Darwin 27, Apple Silicon, arm64).
- Provider: ACP agent omp via
omp acp, auto-detected and registered as provideracp-omp(known-acp-agents.ts). Any ACP agent that sendsdescriptionon model select options is affected; omp is the concrete case observed. - omp's agent behavior (source external to this repo, cited as behavior not bb code): its ACP mode
buildConfigOptionssends each model select option as{ value: "provider/modelId", name: <display name>, description: "provider/modelId" }.
Steps to reproduce
Live-UI path (from-source code-path evidence at the commit above; I could not reproduce on a shipped release, per the agent rules in docs/filing-issues.md §Rules for agents — this report is unverified against a release):
- Install an ACP agent that sends
descriptionon each model config-option select option — e.g. omp (omp acp; bb exposes it as provideracp-omp). - Have the agent advertise two models whose select-option
nameis identical but whosevalue/descriptiondiffer (omp does this in practice when two providers surface the same display name, e.g. "GLM 4.7"). - Open the model picker for a thread using that provider. Two rows show the same label with no distinguishing text.
Faithful repro without a live agent — unit test at the exact code path, on fork branch acp-model-description of bradhallett/bb: plugins/provider-acp/src/bridge/model-catalog.test.ts, case "keeps per-option descriptions that disambiguate duplicate model names". It feeds config options with descriptions through buildModelCatalogFromConfigOptions and asserts the catalog preserves them. Fails at 00561091 (description arrives ""); passes with the two-line bridge fix.
Expected vs actual
Actual (traced from source at 00561091; no screenshot captured): the picker shows two rows with identical labels and no secondary text, because AvailableModel.description arrives empty for every config-option-advertised model, and the desktop option mapping drops the field anyway.
Expected: each row distinguishes itself with the description the agent supplied — the wire schema already passes it through, and the mobile picker already maps and renders it (links in Evidence). The desktop PickerOption type already has an optional description slot.
Evidence
All permalinks at base commit 00561091a3beba712e00acc5c4544b6a6c483220:
- Drop site: model-catalog.ts#L283 —
buildModelCatalogFromConfigOptionshard-codesdescription: "". - In-repo precedent the config-options path merely omits: the sibling session-models path model-catalog.ts#L313 already maps
model.description ?? "". - Wire schema: wire.ts#L235-L240 —
acpConfigOptionSelectOptionSchematypes onlyvalue/name;.passthrough()carries the agent'sdescriptionthrough untyped. - Required downstream field: provider-types.ts#L21 —
description: z.string()on the available-model schema. - Desktop drops it at mapping: useThreadCreationOptions.ts#L594-L622 — model options carry
value/label/routeProviderIdonly. - Desktop render slot already exists: OptionPicker.tsx#L44 —
PickerOption.description?: string; model options never populate it. - Mobile maps it: execution-options.ts#L115; mobile renders it: ModelReasoningPicker.tsx#L236 (
subtitle={option.description || undefined}) — mobile shows nothing today only because the bridge sends"". - CLI unaffected: provider.ts#L143-L160 —
bb provider modelsprints the raw model id, so no ambiguity there.
What you ruled out
- Not a duplicate of Make OpenCode custom models and agents clear and selectable #1093 — that issue is models absent/unclear via OpenCode discovery; here the models appear, their metadata is dropped at the bridge.
- Not Plugin apps cannot reuse bb's provider/model picker #1836 — that is plugin-picker reuse, unrelated root cause.
- Not a mobile rendering gap — mobile already maps and renders the field; it is empty only because of the bridge.
- Not a CLI gap —
bb provider modelsprints the rawprovider/modelid. - Searched open and closed issues (2026-08-20): no other report of this root cause found.
Suggested priority and effort (optional)
Low–medium: hits any ACP agent whose advertised models collide on display name; no in-UI workaround once collided (the distinguishing provider/model values are invisible); no data or work lost. Effort likely Low — the bridge change is two lines with in-repo precedent, plus a small desktop mapping/render addition.
Checks
- I reproduced this on the latest release or on
main, or I say above that I could not. - I searched open and closed issues for the same problem.
- If an agent wrote this, the body ends with
> AGENT GENERATED: by <model>and links the thread or report.
Prototype (per CONTRIBUTING — issue first, no PR until sign-off): fork branch acp-model-description on bradhallett/bb carries the complete change — the two-line bridge fix, desktop picker mapping/render as secondary row text (matching mobile), and regression tests for the catalog, desktop picker, and mobile mapping; typecheck, tests, and lint pass on the branch.
AGENT GENERATED: by zai/glm-5.3
Activity
SawyerHood commentedon Aug 21, 2026
Reproduction & root-cause report: https://get-bb.github.io/reports/issues/2062.html
description: acpOptionalStringon acpConfigOptionSelectOptionSchema (wire.ts#L233-L238) and mapdescription: option.description ?? ""in buildModelCatalogFromConfigOptions (model-catalog.ts#L283), mirroring buildModelCatalogFromSessionModels; no HOST_DAEMON_PROTOCOL_VERSION bump needed since the field is already a required string. (2) Desktop: in useThreadCreationOptions modelOptions/moreModelOptions and the ModelReasoningPicker preview mappings, detect duplicate labels and only for colliding rows set the existingqualifierslot (already used for Pi routeProviderId and a…The report has copy-paste repro steps, screenshots where the bug is visual, code permalinks at the base commit, and repro artifacts. It was independently re-run by a second agent (see its Verification section).
Waseemilyas commentedon Sep 25, 2026
Still reproducible on 0.43.4 with omp 18.3.0: searching "astra" in the
acp-omppicker shows four identical "GPT-6 Astra" rows (openai-codex/…,opencode-zen/…,commandcode/…,devin/…), one of which returns403 Model access is disabled, so picking the wrong row silently fails over to another model.The prototype for #4367 also fixes this for omp on current
main(acp-large-model-catalogs): it keeps the optiondescriptioninbuildModelCatalogFromConfigOptions, and the omp dialect exposes theprovider/prefix of omp's model ids asrouteProviderId, the qualifier the desktop picker already renders (and searches) for Pi. Verified live on 0.43.4: rows readGPT-6-Astra · openai-codex,GPT-6 Astra · opencode-zen, and so on. No desktop picker change is needed.Add an opt-in rebuilt ACP adapter, agent options in the model picker,…
mancunianez commentedon Oct 22, 2026
The closure via #5266 doesn't appear to fix the reported UX. Verified against
main@9c3c56f(the same commit the currentdesktop-nightlybuild targets):routeProviderIdanywhere in the ACP path (packages/provider-bridge-acp,plugins/provider-acp— zero matches), so theMenuRowButtonqualifier slot stays empty for ACP models; it only renders for Pi.label+routeProviderId(apps/app/src/hooks/thread-creation-options/model-catalog-selection.ts:59-78). The bridge preservesAvailableModel.description, but nothing in the app renders it, and row tooltips repeat the label without the raw id (ModelReasoningMenu.tsx:669-679).acp-omp, desktop app, 2026-10-22): searching "glm-5.3" in the model picker returns nine near-identical rows — "Glm-5.3" (twice), "Glm-5.3 Flash", "Glm-5.3-Flash", "Glm-5.3-Flashx", "GLM 5.3", "GLM 5.3 Flash", "GLM 5.3 Prime", "GLM 5.3 batch" — with no visible provider/route; the two "Glm-5.3" rows are indistinguishable in text, tooltip, and accessible name, exactly as reported.#5266's description doesn't mention per-row disambiguation anywhere — this issue looks like it was swept up in its 18-item
Fixeslist. The closed PRs already carry the designs: #2226 (collision-only inline qualifiers) and #2465 (provider-grouped headers with curated route names, raw-id tooltips, and a trigger token for ambiguous selections). #4367's prototype branch additionally demonstratesModel · routequalifiers for omp viarouteProviderId.Current workaround for anyone hitting this: the picker's search aliases include the raw model id, so searching
zai/glmfilters to the exact route even though the label never shows it.Label omp and opencode models with their route provider (#6186)