fix: crowdcode — fullResponse im Chat-Loop akkumulieren

Im interaktiven Chat wurde fullResponse nie zugewiesen (Return-Value
von chatComplete ignoriert, Callback akkumuliert nicht). Folge:
executeActions('') fand keine FILE:/DIR:/EDIT:-Aktionen und history.push
bekam leere Assistant-Turns. Beides silent kaputt; nur :wiki funktionierte.

Fix: fullResponse += token im Content-Zweig (Reasoning bewusst draußen).
Live getestet gegen llama-server (LFM2-8B-A1B Testsieger): FILE/DIR-Aktionen
und Multi-Turn-History (assistant len 0→55) verifiziert.
This commit is contained in:
xray 2026-07-13 14:40:22 +02:00
parent c1a984b22b
commit 05e349131c

View file

@ -759,6 +759,7 @@ ${C.dim}Konfiguration (via ENV):
process.stdout.write(`${C.reset}\n${C.cyan}──${C.reset}`);
thinkingDone = false;
}
fullResponse += token;
process.stdout.write(token);
}
});