Skip to content

Commit fc4f6bf

Browse files
committed
feat(prompts): update conventional commit prompt
1 parent 55b6011 commit fc4f6bf

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Added
66
- Add OpenAI temperature setting.
7+
- Update preset conventional commit prompt.
78

89
## [1.1.0] - 2023-04-28
910

src/main/kotlin/com/github/blarc/ai/commits/intellij/plugin/settings/AppSettings.kt

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,11 @@ class AppSettings : PersistentStateComponent<AppSettings> {
125125
// feat: generate unique UUIDs for game objects on Mine game start
126126
"conventional" to Prompt("Conventional",
127127
"Prompt for commit message in the conventional commit convention.",
128-
"Write a clean and comprehensive commit message in the conventional commit convention. " +
129-
"I'll send you an output of 'git diff --staged' command, and you convert " +
130-
"it into a commit message. " +
131-
"Do NOT preface the commit with anything. " +
132-
"Do NOT add any descriptions to the commit, only commit message. " +
133-
"Use the present tense. " +
134-
"Lines must not be longer than 74 characters. " +
135-
"Use {locale} language to answer.\n" +
128+
"Write a commit message in the conventional commit convention. I'll send you an output " +
129+
"of 'git diff --staged' command, and you convert it into a commit message. " +
130+
"Lines must not be longer than 74 characters. Use {locale} language to answer. " +
131+
"End commit title with issue number if you can get it from the branch name: " +
132+
"{branch} in parenthesis.\n" +
136133
"{diff}",
137134
false),
138135
// ✨ feat(mine): Generate objects UUIDs and start team timers on game start

0 commit comments

Comments
 (0)