1
0

auto-git:

[change] main.js
This commit is contained in:
2025-05-24 14:22:32 +02:00
parent e71145e7a8
commit 2448be3f33

View File

@@ -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) {