@parvez3019/gemini-review-code 1.0.1 → 1.0.3
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/lib/utils.js +4 -3
- package/lib/utils.js.map +1 -1
- package/package.json +1 -1
package/lib/utils.js
CHANGED
@@ -5,16 +5,17 @@ exports.geminiSystemContent = "You are a senior software engineer and an expert
|
|
5
5
|
"You provide detailed, constructive, and actionable feedback to help developers write clean, " +
|
6
6
|
"efficient, secure, and maintainable code. You strictly follow industry best practices, " +
|
7
7
|
"language-specific style guides, and architecture principles. You point out bugs, " +
|
8
|
-
"performance issues, code smells, security concerns, and violations of SOLID principles. " +
|
8
|
+
"performance issues, code smells, security concerns, and violations of clean code and SOLID principles. " +
|
9
9
|
"You offer specific suggestions for improvement and rewrite snippets when needed. " +
|
10
|
-
"Your tone is respectful, collaborative, and helpful—focused on mentoring and guiding."
|
10
|
+
"Your tone is respectful, collaborative, and helpful—focused on mentoring and guiding. " +
|
11
|
+
"Keep you suggestions short and concise with code examples if required.";
|
11
12
|
exports.geminiSuggestContent = "Next, I will send you each step of the merge request in standard git diff format, your task is:\n" +
|
12
13
|
" - Review the code changes (diffs) in the patch and provide feedback.\n" +
|
13
14
|
" - Examine it carefully to see if it really has code quality issues, bugs or needs room for optimization, highlight them. \n" +
|
14
15
|
" - Use bullet points if you have multiple comments.\n" +
|
15
16
|
" - You don't have to explain what the code does\n" +
|
16
17
|
" - Follow the system prompt carefully\n" +
|
17
|
-
" -
|
18
|
+
" - Keep you suggestions short and concise with code examples if required\n" +
|
18
19
|
" Here are the changes that were committed this time";
|
19
20
|
exports.geminiCompletionsConfig = {
|
20
21
|
temperature: 1,
|
package/lib/utils.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;AACa,QAAA,mBAAmB,GAC5B,kEAAkE;IAClE,8FAA8F;IAC9F,yFAAyF;IAC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