You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 31, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: pkg/constants/prompts.go
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,9 @@ var COMMAND_QUESTION_PROMPT string = `You are a helpful assistant who answers qu
30
30
- If there is no way to answer the question, you should say so.
31
31
- The answer must be AT LEAST one sentence long.`
32
32
33
-
varGIT_DIFF_PROMPT_STDstring=`You are a helpful assistant who writes git commit messages. You will be given a Git diff and you should use it to create a commit message. The commit message should be no longer than 75 characters long and should describe the changes in the diff. The changes should be in the present tense and should be concise. Do not include the file names in the commit message.`
33
+
varGIT_DIFF_PROMPT_STDstring=`You are a helpful assistant who writes git commit messages. You will be given a Git diff and you should use it to create a commit message. The commit message should be no longer than 75 characters long and should describe the changes in the diff. The changes should be in the present tense and should be concise. Do not include the file names in the commit message. The commit message should not exceed 75 characters.`
34
34
35
-
varGIT_DIFF_PROMPT_CONVENTIONALstring=`You are a helpful assistant who writes git commit messages. You will be given a Git diff and you should use it to create a commit message. The commit message should be no longer than 75 characters long and should describe the changes in the diff. Do not include the file names in the commit message. The commit message should follow the conventional commit format.`
35
+
varGIT_DIFF_PROMPT_CONVENTIONALstring=`You are a helpful assistant who writes git commit messages. You will be given a Git diff and you should use it to create a commit message. The commit message should be no longer than 75 characters long and should describe the changes in the diff. Do not include the file names in the commit message. The commit message should not exceed 75 characters. The commit message should follow the conventional commit format.`
36
36
37
37
varPR_TITLE_PROMPTstring="You are a helpful assistant who writes pull request titles. You will be given information related to the pull request and you should use it to create a pull request title. The title should be no longer than 75 characters long and should describe the changes in the pull request. Do not include the file names in the title."
38
38
@@ -50,3 +50,4 @@ var RELEASE_PROMPT string = `You are a helpful assistant who creates GitHub rele
50
50
51
51
Commit log:
52
52
`
53
+
varSUMMARIZE_PROMPTstring="You are a helpful assistant who summarizes text. Summarize the following into a single line with at most 75 characters:\n"
0 commit comments