Skip to content

Commit

Permalink
Remove excludedPaths in git diff config and update commit prompt with…
Browse files Browse the repository at this point in the history
… emoji usage ✨
  • Loading branch information
pelikhan committed Oct 7, 2024
1 parent 8228e4a commit 7a00aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vscode/genaisrc/gcm.genai.mts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ script({
// Check for staged changes and stage all changes if none are staged
const diff = await git.diff({
staged: true,
excludedPaths: "**/genaiscript.d.ts",
askStageOnEmpty: true,
})
if (!diff) cancel("no staged changes")
Expand All @@ -30,6 +29,7 @@ git diff --cached
\`\`\`
Please generate a concise, one-line commit message for these changes.
- do NOT add quotes
- use emojis
` // TODO: add a better prompt
},
{ cache: false, temperature: 0.8 }
Expand Down

0 comments on commit 7a00aa2

Please sign in to comment.