Repository navigation
Description
Summary
When BB builds the model catalog for an ACP provider, it probes each model's reasoning efforts one at a time. If the probe for one model fails (for example, the agent returns a 429 for that model), BB stops probing. Every model after it is then listed with a single placeholder medium effort, even though those models support the full effort set. Nothing is logged, and the partial catalog is stored as if it were complete.
Versions and environment
- bb 0.43.4 (desktop app), macOS 26 (darwin 25.6.0), local daemon, default data dir.
- ACP provider backed by the Claude Code ACP agent, claude-agent-acp 0.70.0, using a Claude account on which one model (
claude-fable-5-1[1m]) was rate-limited. - Code path unchanged on
mainat94d77da09568d7f0f7cdb23b84686e743acfb0ad.
Steps to reproduce
- Configure an ACP provider whose agent exposes a
modelconfig option with several models, wheresession/set_config_optionfails for one model that is not last in the probe order. The case I observed was claude-agent-acp 0.70.0 on an account whereclaude-fable-5-1[1m]returns a 429. Probe order wasdefault,sonnet,claude-fable-5-1[1m],opus,haiku. - Run
bb provider models <provider> --json, or open the model picker for that provider. - Compare the
supportedReasoningEffortsof the models probed after the failing one.
Did not reproduce with the same agent on an account where no model is rate-limited: all five models get the full effort set.
Closest faithful repro without a rate-limited account: a unit test in packages/provider-bridge-acp/src/bridge/bridge.test.ts that fails session/set_config_option for the middle of three models. The model after it gets the fallback instead of its real efforts. The test is in #4149, and it fails on main.
Expected vs actual
Direct probe of the same ACP agent, in BB's order (session/set_config_option per model):
probe default 53ms default,low,medium,high,xhigh,max
probe sonnet 11ms default,low,medium,high,xhigh,max
probe claude-fable-5-1[1m] 344ms {"code":-32603,"message":"Internal error","data":{"details":"API error: 429 ... rate_limit_error ..."}}
probe opus 1ms default,low,medium,high,xhigh,max
probe haiku 1ms default,low,medium,high,xhigh,max
BB's stored catalog for that provider (efforts per model):
default: 5 sonnet: 5 claude-fable-5-1[1m]: 1 opus: 1 haiku: 1
(1 = [medium] "Reasoning effort is managed by the connected ACP agent.")
Expected: only the model whose probe failed (claude-fable-5-1[1m]) falls back to medium. opus and haiku keep the efforts the agent reports for them. The failure is logged with the model id.
Evidence
- The probe loop runs inside one
try, so the first rejected probe ends it:bb/packages/provider-bridge-acp/src/bridge/bridge.ts
Lines 978 to 1000 in 94d77da
for (const model of modelsToProbe) { const configState = await args.connection.request({ method: "session/set_config_option", params: { sessionId: args.sessionId, configId: modelOption.id, value: model.value, }, resultSchema: acpConfigStateResultSchema, }); supportByModel.set( model.value, buildAcpNativeReasoningSupport( findAcpThoughtLevelConfigOption(configState.configOptions), ), ); } return supportByModel; })(), timeoutReached, ]); } catch { return supportByModel.size > 0 ? supportByModel : null; - The
catchreturns the partial map as if complete, without logging:bb/packages/provider-bridge-acp/src/bridge/bridge.ts
Lines 999 to 1000 in 94d77da
} catch { return supportByModel.size > 0 ? supportByModel : null; - Every model missing from the map gets the single-
mediumfallback:andbb/packages/provider-bridge-acp/src/bridge/model-catalog.ts
Lines 218 to 221 in 94d77da
const reasoning = reasoningByModel?.get(option.value) ?? { supportedReasoningEfforts: ACP_NATIVE_REASONING_EFFORTS, defaultReasoningEffort: "medium" as ReasoningLevel, }; bb/packages/provider-bridge-acp/src/bridge/model-catalog.ts
Lines 10 to 16 in 94d77da
export const ACP_NATIVE_REASONING_EFFORTS: AvailableModel["supportedReasoningEfforts"] = [ { reasoningEffort: "medium", description: "Reasoning effort is managed by the connected ACP agent.", }, ]; - The result is persisted in
provider_model_catalogsin~/.bb/bb.dbwith no error. Rows for the affected provider switched from full to partial when the account's rate limit began, while rows for other accounts on the same agent stayed full. - The probe log above came from launching the same ACP agent command BB uses and sending
session/set_config_optionfor each model in BB's probe order.
What you ruled out
- Not 0.40.0 Cursor picker: only Grok keeps a real reasoning ladder (Sol/Opus/Fable dummy Medium) #2503: same symptom, but there the cause was the probe timing out before the primary models were probed. Here, the loop exits on the first rejected request, well within the timeout.
- Not stale per-profile or plugin state: the agent's own responses for
opusandhaikucarry the full effort set on the affected account. - Still present on
mainat94d77da09568d7f0f7cdb23b84686e743acfb0ad. - The 429 itself is account state, not a BB defect. The defect is that one model's failure removes the efforts of the models probed after it.
Suggested priority and effort (optional)
Medium. It affects any ACP provider where one model's probe fails (a rate limit, an unavailable model), and there is no workaround in BB other than waiting for the failure to clear and the catalog to refresh. No data loss. Effort: Low (per-model error handling in the probe loop).
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 GENERATEDand links the thread or report.
Found by an agent-driven investigation in a private bb thread, not linkable. The probe log and code references above are its evidence.
AGENT GENERATED
Activity
bb-slop-cop commentedon Sep 23, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotBug · Priority Medium · Effort Low. Applied
providers,provider-acp, andconfirmed-repro.Reproduction report: REPRODUCED, high root-cause confidence. One catch surrounds the probe loop, so a rejected model stops later probes and leaves those models with the
mediumfallback.The regression test reproduced this on main in two clean checkouts: the no-error control passed; rejecting the middle model prevented the final model from being probed. Real-account rate limiting and database history were not exercised.
No duplicate PR opened: existing PR #4149 already addresses this root cause; reviewed statically only.
Keep probing ACP model efforts after one model fails (get-bb#4149)