Skip to content

ACP bridge retries model config errors through unsupported session/set_model #2925

Closed

Description

@GantisStorm

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), provider acp-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.

  1. Start a BB thread with provider acp-omp.
  2. Select command-code/deepseek/deepseek-v4-flash with high reasoning.
  3. Start the thread.
  4. If OMP's advertised session/set_config_option request errors, observe the fallback request.

Minimal bridge-level reproduction, now encoded in packages/provider-bridge-acp/src/bridge/bridge.test.ts:

  1. Start the fake ACP agent with FAKE_ACP_MODEL_CONFIG=1 and FAKE_ACP_SET_CONFIG_MODEL_ERROR=1.
  2. Select fake/strong.
  3. Before the fix, the bridge swallowed model config probe failed, called session/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

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

  1. added theissue type on Sep 2, 2026
  2. added
    providers
    provider-acp
    confirmed-repro
    on Sep 2, 2026
  3. bb-slop-cop commented on Sep 2, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

  4. added a commit that references this issue on Oct 28, 2026
    be6ec62
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-reproprovider-acpproviders

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions