Skip to content

Extract AI features list into one SSOT

Gosia Ksionek requested to merge mk-refactor-ai-features-list-into-SSOT into master

What does this MR do and why?

I extracted 3 different lists of AI features used in different parts of the codebase (from: ee/app/services/llm/execute_method_service.rb, ee/lib/gitlab/llm/completions_factory.rb and from ee/lib/gitlab/llm/stage_check.rb) into one list, that can be reused and expanded and can be treated as SSOT for AI features. This MR should not change a thing in how AI features work, it's pure refactor.

The 'self-managed' field in the list is not used at the moment, it will be used in this MR: !152161

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.

Edited by Gosia Ksionek

Merge request reports