rewritten checkpoint 1 - before coopmat

This commit is contained in:
Concedo
2024-12-13 16:55:23 +08:00
59 changed files with 9147 additions and 28724 deletions
@@ -407,6 +407,9 @@ class SimpleChat {
if (curLine.startsWith("data:")) {
curLine = curLine.substring(5);
}
if (curLine.trim() === "[DONE]") {
break;
}
let curJson = JSON.parse(curLine);
console.debug("DBUG:SC:PART:Json:", curJson);
this.append_response(this.response_extract_stream(curJson, apiEP));