Skip to content

Use Duo for summarize comments

Simon Knox requested to merge psi-summ-duo into master

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
Screenshot_2024-06-18_at_16.27.18 Screenshot_2024-06-19_at_16.04.11

How to set up and validate locally

  1. Setup AI features - https://docs.gitlab.com/ee/development/ai_features/
  2. Enable summarize_notes_with_duo feature flag
  3. Change branch in AI gateway to mk-add-summarize-comments-endpoint and restart gdk (if you are using ai gateway in gdk).
  4. Go to an Issue with comments
  5. Click "Summarize comments"
  6. Result opens in duo drawer
Edited by Simon Knox

Merge request reports