Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.

Commit 4a47315

Browse files
committed
Improve default prompt
1 parent a1b9994 commit 4a47315

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/kotlin/com/github/blarc/ai/commits/intellij/plugin/settings

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class AppSettings : PersistentStateComponent<AppSettings> {
2222
private val openAITokenTitle = "OpenAIToken"
2323
private val openAIPromptTitle = "OpenAIPrompt"
2424

25-
private var defaultPrompt = "Write a commit message for the following changes: {diffs}"
25+
private var defaultPrompt = "As a professional developer working with a Git repository, it's important to maintain clear and concise commit messages that follow the standard format. Please create a commit message for the following changes: {diffs}. Remember to label everything logically and keep it short. Please use the following format <type>(<scope>): <short> /n/n [...]'. Thank you very much!" // And here's a helpful hint to remember: {hint}.
2626

2727
var requestSupport = true
2828

0 commit comments

Comments
 (0)