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:
parent
c1a984b22b
commit
05e349131c
1 changed files with 1 additions and 0 deletions
|
|
@ -759,6 +759,7 @@ ${C.dim}Konfiguration (via ENV):
|
||||||
process.stdout.write(`${C.reset}\n${C.cyan}──${C.reset}`);
|
process.stdout.write(`${C.reset}\n${C.cyan}──${C.reset}`);
|
||||||
thinkingDone = false;
|
thinkingDone = false;
|
||||||
}
|
}
|
||||||
|
fullResponse += token;
|
||||||
process.stdout.write(token);
|
process.stdout.write(token);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue