job51-gitlab-cr-node-jt-1 1.2.4 → 1.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -196,7 +196,7 @@ class GitLabCodeReviewer {
|
|
|
196
196
|
async reviewDiffWithClaudeUsingFile(filePath) {
|
|
197
197
|
debugLog(`开始审核文件: ${filePath}`);
|
|
198
198
|
|
|
199
|
-
const prompt = '
|
|
199
|
+
const prompt = '现在使用simple-code-review技能对文件中的代码变更进行评审,并必须按照技能md文件中规定的格式返回报告文本内容,代码变更内容文件见文件:' + filePath;
|
|
200
200
|
|
|
201
201
|
// 最多重试5次,直到结果包含"🤖 AI代码审查报告"或达到最大重试次数
|
|
202
202
|
let attempts = 0;
|