1
0

auto-git:

[change] main.js
This commit is contained in:
2025-05-24 21:08:24 +02:00
parent 125ce72a55
commit 1e03822cd6

View File

@@ -226,7 +226,7 @@ ${JSON.stringify(commits, null, 2)}
// ---- 3. LLM Streaming Call ----
async function streamLLMCommitMessages(prompt, onDataChunk) {
const selectedModel = await window.settingsAPI.getCommitModel?.() ?? 'qwen2.5-coder:32b';
const selectedModel = store.get('commitModel') || 'qwen2.5-coder:32b';
const response = await fetch('http://localhost:11434/api/generate', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },