Add commit as unavailable resource based on a feature flag
What does this MR do and why?
Send Commit as unavailable resource to AI Gateway based on the ai_commit_reader_for_chat
flag.
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
How to set up and validate locally
- Enable v2 feature flag
Feature.enable(:v2_chat_agent_integration)
- Ask Duo Chat what the unavailable resources are
It should reply with Merge Requests, Pipelines, Vulnerabilities, Commits
- Clear chat with
/clear
- Enable MR support feature flag
Feature.enable(:ai_commit_reader_for_chat)
- Ask Duo Chat what the unavailable resources are
It should reply with Pipelines, Vulnerabilities, Merge Requests
Related to #468460 (closed)
Edited by Eva Kadlecová