Use Duo for summarize comments
What does this MR do and why?
Use Duo for summarize comments. Use chatMutation instead of the ai_action mutation
Changelog: changed
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
- Setup AI features - https://docs.gitlab.com/ee/development/ai_features/
- Enable
summarize_notes_with_duo
feature flag - Change branch in AI gateway to
mk-add-summarize-comments-endpoint
and restart gdk (if you are using ai gateway in gdk). - Go to an Issue with comments
- Click "Summarize comments"
- Result opens in duo drawer
Edited by Simon Knox