Description ๐Ÿ“š

November 28, 2025 ยท View on GitHub

English README | ไธญๆ–‡ README

Description ๐Ÿ“š

A project using LLM to empower Code Review ๐Ÿ’ช๐Ÿป ((LLM not only includes GPT ๐ŸŽ))

What are the characteristics of the project? โœจ

๐Ÿถ We customize it for gitlab

๐Ÿฑ We combine the powers of GPT ๐Ÿš€

๐ŸฆŠ We're going to access privatization LLM to solve code security issues

๐Ÿฆ We will always be aware of the latest developments of code review into the project

Project structure ๐Ÿš—

Results preview ๐ŸŒˆ

1. Gitlab Code Review for Merge Request

2. Dingding-code-review message

3. Integration of More Large Models

  1. Custom models can be quickly integrated by implementing the project interface. For specific configuration methods, refer to config.md.
  2. The project supports multiple models through UnionLLM, which is compatible with LiteLLM. The default supported models are listed in the table below.
OpenAI Azure AWS - SageMaker AWS - Bedrock
Google - Vertex_AI Google - Palm Google AI Studio - Gemini Mistral AI API
Cloudflare AI Workers Cohere Anthropic Empower
Huggingface Replicate Together_AI OpenRouter
AI21 Baseten Vllm NLP_Cloud
Aleph Alpha Petals Ollama Deepinfra
Perplexity-AI Groq AI DeepSeek Anyscale
IBM - Watsonx.ai Voyage AI Xinference [Xorbits Inference] FriendliAI
Galadriel ๆ™บ่ฐฑAI ๆœˆไน‹ๆš—้ข Moonshot ็™พๅบฆๆ–‡ๅฟƒไธ€่จ€
้˜ฟ้‡Œๅทดๅทด้€šไน‰ๅƒ้—ฎ MiniMax ่ฎฏ้ฃžๆ˜Ÿ็ซ ็™พๅทๆ™บ่ƒฝ
ๆ˜†ไป‘ๅคฉๅทฅ ้›ถไธ€ไธ‡็‰ฉ ้˜ถ่ทƒๆ˜Ÿ่พฐ ๅญ—่Š‚่ฑ†ๅŒ…
DeepSeek More
# Usage ๐Ÿ“–

install

Run by Source code

1.clone repo

git clone git@github.com:mimo-x/Code-Review-GPT-Gitlab.git

2.install requirements

pip install -r requirements.txt

3.modify config file

vim config/config.py

4.run

python3 app.py

5.config gitlab webhook

When filling in the Webhook URL, please add /git/webhook after the domain name. For example: http://example.com/git/webhook

6.**make a mr ๐ŸŽ‰**

Docker

todo dockerfile

Todo List ๐Ÿ“Œ

  • โœ… Use GPT to Code Review
  • Try to access the privatization LLM to Address code security issues
  • Enable more trigger methods
    • โœ… Merge Request
    • for every commit
    • for tag
  • FeiShu(้ฃžไนฆ) Code Review message notification
  • Static code analysis to Analyze the risk level of modifying code

Communication ๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ

๐Ÿ‘๐ŸปYou're welcome to ask us questions๏ผˆissue๏ผŒpr๏ผ‰, Thank you for your star โญ๏ธ

๐Ÿ“ฎ Email๏ผšmixuxin@163.com

๐Ÿ‘จโ€๐Ÿ‘จโ€๐Ÿ‘ฆโ€๐Ÿ‘ฆ This is our WeChat group

reference ๐Ÿ“š

License ๐Ÿ“‘

github license This project is licensed under the MIT License.