From 2448be3f338a17e4968cdb24852e4038628df17c Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 24 May 2025 14:22:32 +0200 Subject: [PATCH] auto-git: [change] main.js --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 268f0cb..6f74f8b 100644 --- a/main.js +++ b/main.js @@ -203,7 +203,7 @@ async function getCommitsForLLM(folderPath, hashes) { } // 2. Prompts für LLM bauen -async function generateLLMCommitMessages(folderPath, hashes) { +async function getPrompt(folderPath, hashes) { const commits = await getCommitsForLLM(folderPath, hashes); if (commits.length === 1) { @@ -313,7 +313,7 @@ async function squashCommitMessages(repoPath, commitMessage, hashes) { */ async function runLLMCommitPipeline(folderPath, hashes) { - const prompt = await generateLLMCommitMessages(folderPath, hashes); + const prompt = await getPrompt(folderPath, hashes); const llmOutput = (await streamLLMCommitMessages(prompt, chunk => process.stdout.write(chunk))).trim(); if (hashes.length === 1) {