You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GitLab workflow models are not discovered in v2 #50421
GitLab Duo Agent Platform models are missing from the v2 model picker, although workflow discovery works in v1 for the same project.
The v1 GitLab loader calls gitlab-ai-provider.discoverWorkflowModels() and registers the returned models. The v2 adapter in packages/core/src/plugin/provider/gitlab.ts only registers SDK/language hooks; it never calls discovery. Updating the SDK alone does not restore that integration.
This is a missing v2 integration, distinct from the token-passing problem reported in #37107.
Plugins
Reproduced with no external plugins and a fresh credential store using GITLAB_TOKEN.
OpenCode version
v2 source checkout (2.0.11; discovery code is also unchanged in 2.0.12)
Steps to reproduce
Export a valid GITLAB_TOKEN with Duo Agent Platform access.
Start a fresh v2 server with an isolated credential store, then open a GitLab project using bun run dev --standalone /path/to/project.
Open the model picker: chat models appear, but no discovered duo-workflow-* models.
Call the SDK discovery API directly with the same token and directory: it returns the available workflow models.
With the discovery call restored, a live test against gitlab-org/gitlab returned 54 workflow models through both the v2 model API and CLI.
I’ll restore GitLab Duo workflow-model discovery in the v2 provider adapter while preserving the existing SDK and language integrations. I’ll add focused coverage with a mocked discovery response to verify that the discovered workflow models reach the provider/model catalog, and I’ll run a live check if a suitable GitLab Duo environment is available.
Activity
LeoParkerOu commentedon Sep 22, 2026
I’d like to work on this.
I’ll restore GitLab Duo workflow-model discovery in the v2 provider adapter while preserving the existing SDK and language integrations. I’ll add focused coverage with a mocked discovery response to verify that the discovered workflow models reach the provider/model catalog, and I’ll run a live check if a suitable GitLab Duo environment is available.
Tarquinen commentedon Oct 20, 2026
This was fixed by #50422. That PR merged into the
v2branch, so GitHub didn't close this issue automatically. Closing as completed.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊