Enable Duo Chat for self-managed
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 |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- In rails console enable the experiment fully
Feature.enable(:ai_duo_chat_switch)
- In case you were working with ai features before - disable main AI feature flag
Feature.disable(:ai_global_switch)
- Make sure you have Anthropic token set up as described here: https://docs.gitlab.com/ee/development/ai_features/index.html#configure-anthropic-access
- Run GDK with
GITLAB_SIMULATE_SAAS=false
option
Edited by Gosia Ksionek