Skip to content

Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.

C++

serve: the message-boundary checkpoint is the tail kind (evicted first, like --prompt-cache-tail's)

Niko122191cc8149b0f6
diff --git a/src/program/generate.cpp b/src/program/generate.cpp
index 785db214c..29e4ce78b 100644
--- a/src/program/generate.cpp
+++ b/src/program/generate.cpp
@@ -8191,8 +8191,7 @@ int main(int argc, char** argv) {
at = to;
if ((to == turn_at || to == root_at || to == message_at) &&
!checkpoint_at(to, nullptr, to == message_at && to != turn_at && to != root_at)) { // the tail kind leaves first
- std::printf("ERR saving a conversation checkpoint failed%s
-", ckpt_why.c_str());
+ std::printf("ERR saving a conversation checkpoint failed%s\n", ckpt_why.c_str());
return 1;
}
if (trace && to == message_at)