Skip to content

Commit 9b627d9

Browse files
committed
chore: add output restriction to prompt guidelines
The modification ensures that only the desired commit message is returned, preventing additional text in the output.
1 parent 9ae2a37 commit 9b627d9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

prompts/commit_prompt.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ For better commit messages, consider:
99
Your commit message should describe what was changed and why.
1010

1111
If the change is related to a specific issue or feature request, please mention it.
12+
13+
IMPORTANT: Don't output any other text besides desired commit message.

prompts/conventional_commit.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ Examples:
2222

2323
For more complex changes, you can add a blank line after the first line,
2424
followed by a more detailed description.
25+
26+
IMPORTANT: Don't output ant other text besides generated commit message.

0 commit comments

Comments
 (0)