Fix documentation tool problem
What does this MR do and why?
With lot of changes concentrated on the GitLab Duo chat there were some changes that also touched legacy documentation chat and caused regression. It is fixed in this MR.
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
Numbered steps to set up and validate the change are strongly suggested.
- Setup chat according to: https://docs.gitlab.com/ee/development/ai_features.html#set-up-gitlab-duo-chat
-
- In rails console enable
Feature.enable(:ai_chat_prompt_alternative)
- In rails console enable the experiment fully
Feature.enable(:gitlab_duo)
- Ask documentation-related question and observe results.
- In rails console disable the experiment fully
Feature.disable(:gitlab_duo)
- Ask documentation-related question and observe results.
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.
Edited by Gosia Ksionek