traded my ink for a pen

This commit is contained in:
Concedo
2025-03-14 11:58:15 +08:00
25 changed files with 13853 additions and 12134 deletions
+1 -1
View File
@@ -309,7 +309,7 @@ int main(int argc, char ** argv) {
}
if (line == "/clear") {
ctx.n_past = 0;
llama_kv_cache_seq_rm(ctx.lctx, 0, 1, -1); // keep BOS
llama_kv_self_seq_rm(ctx.lctx, 0, 1, -1); // keep BOS
LOG("Chat history cleared\n\n");
continue;
}