Skip to content

acp-opencode: Zen opencode/ models report single medium reasoning level over ACP, native TUI offers low/medium/high/xhigh variants #3899

Closed

Description

@DEVPACT-K

Summary

Zen opencode/ models (e.g. opencode/muse-spark-1.3-contributor-free) expose reasoning variants (low / medium / high / xhigh) in the native opencode TUI, but over BB's acp-opencode bridge they report a single medium level with the placeholder description "Reasoning effort is managed by the connected ACP agent." The Reasoning picker in the model menu therefore renders a dead button, and bb thread update --reasoning-level rejects anything but medium.

Related: #3620 (unknown thought_level values dropped). This is the inverse symptom for Zen models: levels missing rather than collapsed.

Steps to reproduce

  1. bb provider models acp-opencode --json — inspect opencode/muse-spark-1.3-contributor-free:
    • supportedReasoningEfforts: only [{ reasoningEffort: "medium", description: "Reasoning effort is managed by the connected ACP agent." }]
    • Compare opencode-go/muse-spark-1.3-contributor on the same host, which correctly reports low / medium / high / xhigh.
  2. Spawn or open a thread on acp-opencode with model opencode/muse-spark-1.3-contributor-free, open the model picker, click the Reasoning row — nothing happens (only one level, no submenu).
  3. bb thread update <id> --reasoning-level high → HTTP 400: Reasoning level "high" is not supported by model "opencode/muse-spark-1.3-contributor-free". Supported reasoning levels: medium.
  4. Open the native opencode TUI (opencode, same machine, same model family "Muse Spark Free OpenCode Zen") → "Select variant" offers Default / minimal / low / medium / high / xhigh.

Expected

The ACP catalog for Zen opencode/ models surfaces the same variant levels the native TUI offers, so the Reasoning picker and --reasoning-level accept low / medium / high / xhigh.

Actual

Single locked medium; picker click is a no-op; CLI rejects other levels with 400.

Notes

  • Native opencode passes thinking as a --variant launch flag (opencode run --variant high), but opencode acp accepts no variant/reasoning flag, so there is no user-side workaround through BB's customAgents reasoningCli either. The fix likely belongs in how the provider-acp opencode dialect discovers/maps model variants (or in opencode's ACP thought_level advertisement for Zen models).
  • Screenshots available on request (model picker with circled dead Reasoning row; TUI variant selector).

Environment

  • bb --version: 0.43.1
  • Provider: acp-opencode, model opencode/muse-spark-1.3-contributor-free (also affects opencode/muse-spark-1.2-contributor-free, the catalog default)
  • Host: macOS (MacBook Air), local execution
  • opencode CLI: 1.18.31

Activity

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

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Applied Bug · Priority: Medium · Effort: Medium and labels providers, provider-acp, partial-repro. No existing classification values were replaced.

    Reproduction and root-cause report: PARTIALLY REPRODUCED, medium root-cause confidence.

    The catalog falls back to managed medium when thought-level metadata or a per-model probe result is missing; advertised low/medium/high/xhigh levels are preserved. A focused characterization test repeated this behavior in two clean checkouts of trusted origin/main; all 32 catalog tests and the repository build passed. The live provider, TUI, picker, and CLI symptoms remain unverified.

    No PR: the provider-specific trigger is not established, so a safe root-cause fix and failing regression cannot yet be demonstrated. Next step: capture isolated ACP model-selection responses and probe timing.

    AGENT GENERATED

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

    partial-reproprovider-acpproviders

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions