job51-gitlab-cr-node-jt-1 1.3.2 → 1.3.4
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
|
-
|
|
199
|
+
const prompt = '请使用simple-code-review技能处理以下文件内容,文件:' + filePath;
|
|
200
200
|
|
|
201
201
|
// 最多重试5次,直到结果包含"🤖 AI代码审查结果"或达到最大重试次数
|
|
202
202
|
let attempts = 0;
|