Skip to content

Provide ChatGLM support for Summarize MR Diff

Baodong请求将feat/jh-summarize-mr-diff合并到main-jh

Related issue: https://jihulab.com/gitlab-cn/gitlab/-/issues/3170

Dependent MRs:

What does this MR do and why?

Provide ChatGLM support for Summarize MR Diff.

Screenshots or screen recordings

MR diff

截屏2023-06-28_17.22.26

Quick action

截屏2023-06-28_17.19.16

截屏2023-06-28_17.19.29

Comment from GitLab LLM Bot

截屏2023-06-28_17.20.59

How to set up and validate locally

  • Simulate a SaaS instance
  • Create a Project and MRs under a Ultimate Group
  • Feature.enable(:openai_experimentation)
  • Feature.enable(:ai_related_settings, namespace)
  • namespace.update!(experiment_features_enabled: true)
  • Feature.enable(:summarize_diff_quick_action, user)

Note: Do not enable FF summarize_diff_automatically.

MR acceptance checklist

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

Baodong 编辑于

合并请求报告