Skip to content

Retrieve cached chat history in GitLab chat

Denys Mishunov requested to merge 412657-chat-history into master

What does this MR do and why?

The MR fetches the cached GitLab chat messages when opened.

Screenshots or screen recordings

No visual changes except for restoring the messages when opening GitLab chat

How to set up and validate locally

  1. Follow the instructions to enable the AI features in your local GDK
  2. Follow the instructions on setting up the GitLab chat locally
  3. Enable the :super_sidebar_nav feature flag (Feature.enable(:anthropic_experimentation) in your rails console
  4. Enable the new super sidebar in your settings via the web interface: Screenshot_2023-05-26_at_11.20.04
  5. Open the GitLab chat in Help -> Ask GitLab Chat
  6. Ask a question (for example "What is a fork?") and wait for the response.
  7. Close the chat and re-open it
  8. The original question and the response should already be in the chat. Keep in mind that the formatting of the AI response will look odd. This is a known issue and will be fixed in Fix tanuki bot response (!122318 - closed)

MR acceptance checklist

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

Related to #412657

Edited by Denys Mishunov

Merge request reports