Skip to content

Adjust AI clients and services for MiniMax

Baodong请求将feat/summarize-mr-changes-for-mini-max合并到main-jh

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

What does this MR do and why?

  • Add MiniMax support for Summarize MR Changes;
  • Add Timeout to ChatGLM client;
  • Replace AI provider switching with ENV var;
  • Fix MiniMax client logger;

Screenshots or screen recordings

Screenshot_from_2023-08-03_17-33-26

How to set up and validate locally

Turn on Summarize MR Changes FF:!1864 (merged)

Config MiniMax ENV:!1907 (merged)

LLM_DEBUG=true
JH_AI_PROVIDER=mini_max
CHAT_MINIMAX_GROUP_ID=
CHAT_MINIMAX_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 编辑于

合并请求报告

加载中