Skip to content

Commit

Permalink
Add fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ahusiev committed May 18, 2023
1 parent 02aabfe commit 869118a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions src/config/promptsConfig.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
enum Prompt {
CHECK_PATCH,
SYSTEM_PROMPT,
}

const promptsConfig: { [key in Prompt]: string } = {
[Prompt.CHECK_PATCH]:
'You now assume the role of a code reviewer. Based on the patch provide a list of suggestions how to improve the code with examples according to coding standards and best practices.',
[Prompt.SYSTEM_PROMPT]:
'You now assume the role of a code reviewer. Based on the patch provide a list of suggestions how to improve the code with examples according to coding standards and best practices.\nStart every suggestion with path to the file. Path to the file should start with @@ and end with @@',
};
Expand Down

0 comments on commit 869118a

Please sign in to comment.