Repository navigation
Description
Summary
Selecting a non-default model for an acp-omp thread could fail during thread startup even though OMP accepts that model through its advertised ACP model config option. BB discarded the original config-option error and retried with session/set_model, an optional ACP extension OMP does not implement. Expected behavior is to preserve the config-option error and never infer support for an unadvertised extension.
Versions and environment
- bb 0.41.0, macOS 26 / Apple Silicon desktop app; source checkout at
2b06ec9c08f32e20cd98dd99c6250e77d35ecf09 - OMP
18.1.2(omp acp), provideracp-omp - Direct local environment; BB Connect paired
- Selected model:
command-code/deepseek/deepseek-v4-flash; reasoning:high
Steps to reproduce
This was observed before the fix on the prior bridge behavior; it is now covered by the PR regression test.
- Start a BB thread with provider
acp-omp. - Select
command-code/deepseek/deepseek-v4-flashwithhighreasoning. - Start the thread.
- If OMP's advertised
session/set_config_optionrequest errors, observe the fallback request.
Minimal bridge-level reproduction, now encoded in packages/provider-bridge-acp/src/bridge/bridge.test.ts:
- Start the fake ACP agent with
FAKE_ACP_MODEL_CONFIG=1andFAKE_ACP_SET_CONFIG_MODEL_ERROR=1. - Select
fake/strong. - Before the fix, the bridge swallowed
model config probe failed, calledsession/set_model, and could surface only the fallback error.
Did not reproduce with OpenCode ACP: it completed the same planning workflow. After the fix, OMP completed a DeepSeek Flash/high thread and a follow-up turn.
Expected vs actual
Expected:
BB uses OMP's advertised session/set_config_option interface. If it fails, BB returns that original error.
Actual before the fix:
Command thread.start failed
Internal error: Unknown ACP ext method: session/set_model
The session/set_model error was misleading: OMP does not advertise or implement that optional extension.
Evidence
- Failing model-selection code path on the base revision: https://github.com/get-bb/bb/blob/eeaaa3e8d1c60669c308450550321f394186c5d7/packages/provider-bridge-acp/src/bridge/bridge.ts#L1120-L1146
- The bridge's bare catch discarded the first error and sent
session/set_model. - OMP 18.1.2 directly accepted
session/set_config_optionforcommand-code/deepseek/deepseek-v4-flash. - Successful validation thread completed the exact prompt
command-code-deepseek-v4-flash-high-ok, then completed a normalhifollow-up. - Focused verification:
pnpm exec turbo run typecheck test --filter=@bb/provider-bridge-acp --forcepassed typecheck and 300 tests in 17 test files.
What you ruled out
- Not duplicate of internal error when use omp Agent #1918: that issue is a separate ACP dynamic-tool MCP process launch defect.
- Not an OMP credential, model-role, or persistent Command Code failure: direct OMP ACP configuration and the post-fix BB thread both succeeded.
- Not general ACP failure: OpenCode ACP completed the corresponding planning workflow.
Suggested priority and effort
Medium — blocks selected OMP ACP models at thread startup and hides the actionable cause. Default-model OMP, terminal OMP, and OpenCode ACP are workarounds; the implementation is small and covered by a focused regression test.
AGENT GENERATED
Activity
bb-slop-cop commentedon Sep 2, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotBugMediumLowproviders,provider-acp,confirmed-reproREPRODUCEDhighconfirmed-reproKeep the ACP model config error instead of guessing session/set_model (…
fix(thread-list): widen phone status slot to 72px so PR chips are not…