Skip to content

Commit

Permalink
Update auto_commit.py to request plain text commit messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
swuecho committed Sep 7, 2024
1 parent 357e9e5 commit 8d52dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/auto_commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def generate_commit_message(diff):
"messages": [
{
"role": "user",
"content": f"write a concise commit message:\n\n{diff}\n\nCommit message:",
"content": f"write a concise commit message in plain text\n\n{diff}\n\nCommit message:",
}
],
"max_tokens": 100,
Expand Down

0 comments on commit 8d52dc7

Please sign in to comment.