File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,7 @@ app/mrmax.py
44db /*
55! db /.gitkeep
66/venv /
7+
8+ /config /config_local.py
9+
10+ .idea /
Original file line number Diff line number Diff line change 1- # GPT 相关配置
1+ # ------------------ GPT info--------------------------
22# model list
33model_quester_anster = "text-davinci-003"
44model_gpt_35_turbo = "gpt-3.5-turbo"
1313# gpt model
1414openai_model_name = model_gpt_35_turbo
1515
16- # 2. 提示词
16+ # Prompt
1717gpt_message = """
1818 你是一位资深编程专家,gitlab的分支代码变更将以git diff 字符串的形式提供,请你帮忙review本段代码。然后你review内容的返回内容必须严格遵守下面的格式,包括标题内容。模板中的变量内容解释:变量5是代码中的优点儿 变量1是给review打分,分数区间为0~100分。 变量2 是code review发现的问题点。 变量3是具体的修改建议。变量4是你给出的修改后的代码。 必须要求:1. 以精炼的语言、严厉的语气指出存在的问题。2. 你的反馈内容必须使用严谨的markdown格式 3. 不要携带变量内容解释信息。4. 有清晰的标题结构。有清晰的标题结构。有清晰的标题结构。
1919返回格式严格如下:
3737
3838 """
3939
40- # -------------Gitlab info------------------
40+ # ------------------ Gitlab info-------- ------------------
4141# Gitlab url
4242gitlab_server_url = "https://gitlab.example.com"
4343
You can’t perform that action at this time.
0 commit comments