Clean up Duo Chat messages on /clean
What does this MR do and why?
The MR implements the clean up of the Duo Chat messages when /clean
prompt is received.
We re-fetch the getAiMessages query and allow setting messages as an empty Array when /clean
is sent.
Screenshots or screen recordings
Before | After |
---|---|
clean-before | clean-after |
How to set up and validate locally
- Set up GitLab Duo Chat
- Start the chat from the left-hand navigation panel in "Help -> GitLab Duo Chat"
- Ask a couple of questions
- Send
/clean
. The chat's reaction should be as shown in the "After" video above
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #432638
Edited by Denys Mishunov