Skip to content

Enable Duo Chat for self-managed

Gosia Ksionek requested to merge mk-sm-settings-for-chat into master

What does this MR do and why?

Enable duo chat for self-managed.

Previously, DuoChat was available only for customers on gitlab.com instance.

With those changes we allow customers with ultimate license even on self-managed to access DuoChat and DuoChat only.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
image image

How to set up and validate locally

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

  1. In rails console enable the experiment fully
    Feature.enable(:ai_duo_chat_switch)
  2. In case you were working with ai features before - disable main AI feature flag
    Feature.disable(:ai_global_switch)
  3. Make sure you have Anthropic token set up as described here: https://docs.gitlab.com/ee/development/ai_features/index.html#configure-anthropic-access
  4. Run GDK with GITLAB_SIMULATE_SAAS=false option

solves https://gitlab.com/gitlab-org/gitlab/-/issues/434802

Edited by Gosia Ksionek

Merge request reports