GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(tui): list every provider of a just-connected integration by vimtor · Pull Request #66363 · anomalyco/opencode

Conversation

@vimtor

@vimtor vimtor commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Issue for this PR

Closes #66322

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

since #65466, go subscribers connect through the single "OpenCode" connection, and their go models come in as a second provider (opencode-go) of that integration. but right after connecting, the tui opened the model picker filtered to one provider: the first of the integration with models, which is the workspace's opencode one. so a go subscriber's first picker had no go models, and picking a model with the same name (e.g. DeepSeek V4.1 Flash) sent a pay-as-you-go request instead, which is what #66322 hit.

now the picker that follows a connection lists every provider of that integration, grouped as usual, so OpenCode Go shows first. onConnected passes the integration id (or nothing when the integration has no providers, as before), and DialogModel filters by integration instead of provider. the normal /models picker is unchanged.

How did you verify your code works?

  • new test in packages/tui/test/component/dialog-model.test.tsx: the picker for a connected integration lists both of its providers and no others. it fails without the fix (no "Go Model").
  • bun run typecheck in tui, plus the existing dialog-integration and integration-options tests.
  • ran the tui from source against a local console with a go plus workspace (default console url pointed at it locally, not committed): /connect → OpenCode → OpenCode account → approve, before and after.

Screenshots / recordings

before: the picker after connecting lists only the workspace's OpenCode models, and searching a go-only model finds nothing. after: OpenCode Go comes first and its models are there.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR
before.mp4

Before: a Go-only model isn't found

after.mp4

After: the Go-only model is found

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@vimtor
fix(tui): list every provider of a just-connected integration
d9dcdd4
@github-actions github-actions Bot added the contributor label Nov 25, 2026
@vimtor vimtor mentioned this pull request Nov 25, 2026
opencode v2.4.1: OpenCode Go provider missing #66322
Closed
opencodejr[bot]
opencodejr Bot reviewed Nov 25, 2026
View reviewed changes

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. On the base, the picker shown after connecting is filtered to the opencode provider only, so the opencode-go models are missing. With this PR it lists every provider of the integration and leaves out other providers. I checked this with the new component test, run against both base and PR. I couldn't drive the full OpenCode-account connect flow here because it needs a Console workspace with Go, so that path relies on your local test and video. The tui component and dialog-integration tests pass, and tsc -b passes. The only failures are two dialog-shell-output timeouts, which also fail on the base.

Public API is unchanged: the DialogModel prop and the onConnected argument are internal to the TUI.

No blocking concerns.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@neriousy
neriousy merged commit d06f869 into dev Nov 25, 2026
11 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@neriousy
neriousy deleted the tui-connect-models branch November 25, 2026 12:48
@simonklee simonklee mentioned this pull request Nov 25, 2026
fix(cli-rs): bring the Rust client level with the TUI #66470
Merged
@amrkmn amrkmn mentioned this pull request Nov 26, 2026
opencode 2.4.2 amrkmn/homebrew-tap#1260
Closed
1 task
This was referenced Nov 26, 2026
feat: opencode release v2.4.2 sprisa/opencode-server#97
Merged
Tool release: OpenCode 2 v2.4.2 (was v2.3.2) agent-sh/agnix#1894
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@opencodejr opencodejr[bot] opencodejr[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

contributor

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

opencode v2.4.1: OpenCode Go provider missing

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@vimtor @neriousy
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.