1
0

Refactor streamLLMREADME function to merge with streamLLMCommit

This commit is contained in:
2025-06-01 05:41:33 +02:00
parent 1772e9d53b
commit b01a9106d6

View File

@@ -399,7 +399,7 @@ async function streamLLMCommitMessages(prompt, onDataChunk, win) {
return fullOutput;
}
async function streamLLMREADME(prompt, onDataChunk, win) {
async function streamLLMREADME(prompt, onDataChunk, win) { //merge with streamLLMCommit please
await ensureOllamaRunning();
const selectedModel = store.get('readmeModel') || 'qwen2.5-coder:32b';
const response = await fetch('http://localhost:11434/api/generate', {