Skip to content

Add `clean` command to Gitlab Duo Chat functionality

Alexandru Croitor requested to merge add_clean_chat_history_function into master

What does this MR do and why?

Add clean Gitlab Duo chat history functionality

Add the ability to clear gitlab AI chat history.

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

  1. ask chat smth, so that you haev some historical conversation
  2. type /clean in chat
  3. refresh the page and reopen chat
  4. check that the chat history is empty

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Alexandru Croitor

Merge request reports