Add Duo chat sub-feature to Backend self-hosted models settings
What does this MR do and why?
It adds Duo-chat sub-feature to the backend of the self-hosted model's feature settings. They can now be configured individually.
Users must be able to configure each of their supported models (previously declared to GitLab) to specific Duo features and sub-features.
It also introduces the FF ai_duo_chat_sub_features_settings
to hide the untest configurations.
See design issue #469612 (closed).
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
run the tests
bundle exec rspec ee/spec/lib/gitlab/llm/chain/requests/ai_gateway_spec.rb
Related to #473005 (closed) Blocks #476660 (closed)