Skip to content

Merge Gateway reasoning effort variants are not selectable #41868

Closed

Description

@MatthewFeroz

Description

Merge Gateway models can declare supported reasoning efforts through models.dev, but OpenCode does not map merge-gateway-ai-sdk-provider to the adapter's mergeGateway provider-options namespace.

As a result, the declared effort variants are unavailable and a selected effort is not forwarded to the adapter.

Expected behavior: expose the exact effort values declared by models.dev and send the selected value through providerOptions.mergeGateway.reasoningEffort.

Related PR: #41867

Plugins

None

OpenCode version

Development build at d470434

Steps to reproduce

  1. Connect the MERGE Gateway provider.
  2. Select a reasoning model such as GPT-5.6 Sol.
  3. Open the model variant selector.
  4. Observe that the reasoning effort choices declared by models.dev are unavailable.

Screenshot and/or share link

Image

Operating System

macOS 26.5.2

Terminal

Ghostty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions