Skip to content

Add openai key to namespace settings

Gosia Ksionek requested to merge mk-store-openai-key-per-top-level-group into master

What does this MR do and why?

Adds OpenAi Api key for top-level groups.

Screenshots or screen recordings

image

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Enable the feature flag
    Feature.enable(:openai_experimentation)
    
    Feature.enable(:openai_key_per_toplevel_group, group)
  2. Visit the edit group section in admin panel.
  3. If group has proper license, key can be added. Only top-level groups can have openai keys.

MR acceptance checklist

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

relates to https://gitlab.com/gitlab-org/gitlab/-/issues/404752

Edited by Gosia Ksionek

Merge request reports