Skip to content

Commit a96d297

Browse files
Emmanuel AlozieEmmanuel Alozie
Emmanuel Alozie
authored and
Emmanuel Alozie
committed
feat: Introduce a new function to generate commit messages with a user-friendly interface
1 parent 1e6d266 commit a96d297

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

generate-commit.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export async function generateCommit(input) {
1212
const model = genAI.getGenerativeModel({ model: "gemini-pro" });
1313

1414
const prompt = `Using the commit lint convention where "
15+
1516
feat: Commits that introduce new features.
1617
fix: Commits that fix a bug.
1718
docs: Commits that add or update documentation.

0 commit comments

Comments
 (0)