(improvement)(Chat) Optimize memory management (#1741)

Co-authored-by: lxwcodemonkey
This commit is contained in:
LXW
2024-09-29 17:13:06 +08:00
committed by GitHub
parent 23f29fee3e
commit 6c2553ab8f
6 changed files with 45 additions and 3 deletions

View File

@@ -26,4 +26,11 @@ public class ChatMemoryFilter {
private MemoryReviewResult llmReviewRet;
private MemoryReviewResult humanReviewRet;
private String sort = "desc";
private String orderCondition;
public boolean isAsc() {
return "asc".equalsIgnoreCase(sort);
}
}