Skip to content

Commit

Permalink
change max_chat_preserve = 10
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-husky committed Jan 2, 2025
1 parent a73074b commit 9487829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9487829

Please sign in to comment.