Request to Enable ai_features API Scope for Premium Groups in GitLab
Description:
Recent changes in GitLab's codebase (referenced in Merge Request [!131873 (merged)]) have led to the ai_features scope being conditionally hidden based on the availability of experiment features in a group. Specifically, this scope is enabled only when both third_party_ai_features_enabled and experiment_features_enabled are set in the namespace settings (namespace_settings).
Current Limitation:
As per the current GitLab documentation and implementation, the "Enable Experiment and Beta features" setting, which controls the experiment_features_enabled flag, is exclusively available to Ultimate groups. This means that the ai_features scope, which grants access to GitLab Duo related API endpoints, is not available to Premium groups.
This request is to to extend the availability of the ai_features
API scope to Premium groups. This change would align with the growing need for advanced AI features across different tiers of GitLab users and would ensure that Premium users can also benefit from the capabilities provided by the ai_features scope.