Skip to content

Draft: Experiment: Integration ChatGLM

Baodong请求将integration/chat-glm合并到main-jh

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

What does this MR do and why?

Add a new AI provider ChatGLM.

Take the test file generated by AI as an example, replace OpenAI with ChatGLM.

Screenshots or screen recordings

OpenAI ChatGLM
generate-test-in-JH-GitLab ChatGlm_generate_test_demo

How to set up and validate locally

Turn on Feature Flag:

Feature.enable(:ai_related_settings)
Feature.enable(:openai_experimentation)

Feature.enable(:generate_test_file_flag)

Setup ChatGLM Token:

export CHAT_GLM_PUBLIC_KEY=""
export CHAT_GLM_API_KEY=""

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 编辑于

合并请求报告