Skip to content

Commit

Permalink
feat: improve commit gen
Browse files Browse the repository at this point in the history
  • Loading branch information
sidedwards committed Oct 27, 2024
1 parent 3b2123e commit eb9ab52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ Include the issue ID as a reference according to the commit message format.`;
system: systemPrompt,
messages: [{
role: "user",
content: `Generate a commit message for ALL key changes from the diff:\n\n${diff}\n\nIMPORTANT:
content: `Generate a commit message summarizing all key changes from the diff:\n\n${diff}\n\nIMPORTANT:
1. Do not include any explanatory text or formatting
2. Do not make up features, changes, or issue numbers not present in the diff
3. Do not repeat the header line
Expand Down

0 comments on commit eb9ab52

Please sign in to comment.