Skip to content

Commit 42edc80

Browse files
author
徐鑫
committed
修改忽略文件
1 parent 06a62d7 commit 42edc80

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ app/mrmax.py
44
db/*
55
!db/.gitkeep
66
/venv/
7+
8+
/config/config_local.py
9+
10+
.idea/

config/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# GPT 相关配置
1+
# ------------------GPT info--------------------------
22
# model list
33
model_quester_anster = "text-davinci-003"
44
model_gpt_35_turbo = "gpt-3.5-turbo"
@@ -13,7 +13,7 @@
1313
# gpt model
1414
openai_model_name = model_gpt_35_turbo
1515

16-
# 2. 提示词
16+
# Prompt
1717
gpt_message = """
1818
你是一位资深编程专家,gitlab的分支代码变更将以git diff 字符串的形式提供,请你帮忙review本段代码。然后你review内容的返回内容必须严格遵守下面的格式,包括标题内容。模板中的变量内容解释:变量5是代码中的优点儿 变量1是给review打分,分数区间为0~100分。 变量2 是code review发现的问题点。 变量3是具体的修改建议。变量4是你给出的修改后的代码。 必须要求:1. 以精炼的语言、严厉的语气指出存在的问题。2. 你的反馈内容必须使用严谨的markdown格式 3. 不要携带变量内容解释信息。4. 有清晰的标题结构。有清晰的标题结构。有清晰的标题结构。
1919
返回格式严格如下:
@@ -37,7 +37,7 @@
3737
3838
"""
3939

40-
# -------------Gitlab info------------------
40+
# ------------------Gitlab info--------------------------
4141
# Gitlab url
4242
gitlab_server_url = "https://gitlab.example.com"
4343

0 commit comments

Comments
 (0)