Make GitLab Duo CLI work for instance-level model selection
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Description
At the moment GitLab Duo CLI doesn't work with GitLab managed models when instance-level model selection is enabled (self-hosted models are fine). The issue is that we are re-using enum definitions from FeaturesConfigurable which is meant for namespace-level settings and CLI is not included there because it doesn't work in a namespace context.
We need to implement a fix so that GitLab Duo CLI works with GitLab managed models (as well as self-hosted models) when instance-level model selection is enabled.
Slack context here
Screen_Recording_2025-10-29_at_2.59.41_pm
Definition of done:
-
When a cloud-connected self-managed instance has instance-level model selection enabled, the user can select from both self-hosted and GitLab managed models for the GitLab Duo CLIfeature setting.
Edited by Julie Huang