Loading
Add file attachments toggle to admin GitLab Duo settings
What does this MR do and why?
Adds a new admin toggle to /admin/gitlab_duo/configuration that will allow admins to enable or disable file upload to agentic chat on SM instance
References
Admin setting issue: https://gitlab.com/gitlab-org/gitlab/-/work_items/633198
File upload epic: &20481
.com TLG equivalent: !268362 (merged)
Depends on code added in: !268881 (merged)
Will be used in: !268832 (merged) (Not stacked due to other conflicts)
Full PoC: !268274
How to set up and validate locally
- On non SaaS
GITLAB_SIMULATE_SAAS: '0'in gdk.yml - With
Feature.enable(:dap_web_chat_file_attachments) - Visit http://gdk.test:8080/admin/gitlab_duo/configuration
- Confirm that
File attachmentssection exists, and toggle works and saves. - With
Feature.disable(:dap_web_chat_file_attachments) - Confirm that the toggle is not visible
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #633198
Edited by Kaveh Nejad
