change max_chat_preserve = 10

This commit is contained in:
binary-husky
2025-01-03 00:34:36 +08:00
parent a73074b89e
commit 9487829930

View File

@@ -1034,7 +1034,7 @@ async function save_conversation_history() {
return timeB - timeA;
});
const max_chat_preserve = 4;
const max_chat_preserve = 10;
if (conversation_history.length >= max_chat_preserve + 1) {
toast_push('对话时间线记录已满,正在移除最早的对话记录。您也可以点击左侧的记录点进行手动清理。', 3000);