serve: the message-boundary checkpoint is the tail kind (evicted first, like --prompt-cache-tail's)
This commit is contained in:
1 parent
b5de344b73
commit
91cc8149b0
1 file changed
+1
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user