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

This commit is contained in:
Niko1221 committed 2026-10-05 19:57:35 +02:00
1 parent b5de344b73
commit 91cc8149b0
1 file changed
+1 -2
+1 -2
View File
@@ -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)