mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-14 22:25:19 +00:00
(improvement)(Chat) Optimize memory management (#1741)
Co-authored-by: lxwcodemonkey
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user