Skip to content

Enables ai_chat_history_context by default

Jan Provaznik requested to merge jp-history-on into master

What does this MR do and why?

Enables ai_chat_history_context by default.

Although this flag was not enabled globally on .com yet, I think we can just switch this on because:

  • the whole chat functionality is still behind a feature flag disabled by default (gitlab_duo)
  • the only reason why this flag was added was to roll this out when there is also UI button to reset chat history
  • it was decided today that although there is no FE button yet for resetting user's chat history, we want to roll this out anyway and include chat history by default (user can still use /reset command to reset chat history if needed).

Adds by default chat history to zero shot prompt.

Changelog: added EE: true

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.

MR acceptance checklist

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

Merge request reports