From 30d8171455f46c7dd185114bd558f85c95253c03 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 24 May 2025 14:29:50 +0200 Subject: [PATCH] auto-git: [change] main.js --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 02ece1e..8e45f00 100644 --- a/main.js +++ b/main.js @@ -210,7 +210,7 @@ async function getPrompt(folderPath, hashes) { // Only one commit: Prompt LLM for a message just for this diff. const diff = commits[0].diff; return `Generate a concise git commit message for these changes: - + ${diff} Don't give any feedback on the code, just analyze what changed and write the git commit message. Keep it short! A commit message MUST NOT exceed 70 characters!`; @@ -228,6 +228,7 @@ async function getPrompt(folderPath, hashes) { // 3. LLM Streaming Call async function streamLLMCommitMessages(prompt, onDataChunk) { + console.log(prompt); const response = await fetch('http://localhost:11434/api/generate', { method: 'POST', headers: { 'Content-Type': 'application/json' },