Skip to content

Draft: ON-HOLD Add personal namespace ai settings

Gosia Ksionek requested to merge mk-personal-namespace-toggles into master

What does this MR do and why?

In this MR we are adding handling of the AI settings to the Personal Namespaces, so the AI features are available for a personal projects as well.

Screenshots or screen recordings

Before: image

After: image

How to set up and validate locally

  1. Enable the main feature flag

    Feature.enable(:openai_experimentation)
  2. Enable the secondary feature flag

    Feature.enable(:ai_related_settings)
  3. Open GDK as SaaS (using GITLAB_SIMULATE_SAAS option)

  4. In admin section, change plan of your user to ultimate.

  5. In profile>preferences page two new fields should appear. Experimental features should be disabled by default. Third-party AI features should be enabled by default.

  6. After changing settings and saving new settings, the results should be persisted.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

solves #410397 (comment 1384014165)

Edited by Gosia Ksionek

Merge request reports