mirror of
https://github.com/zadam/trilium.git
synced 2026-06-27 18:07:51 +02:00
fix(llm): history doesn't show last notes correctly
This commit is contained in:
@@ -153,7 +153,7 @@ function getMostRecentLlmChat() {
|
||||
new SearchContext({
|
||||
ancestorNoteId: "_llmChat",
|
||||
limit: 1,
|
||||
orderBy: "note.utcDateModified",
|
||||
orderBy: "utcDateModified",
|
||||
orderDirection: "desc"
|
||||
})
|
||||
);
|
||||
@@ -185,7 +185,7 @@ function getRecentLlmChats(limit: number = 10) {
|
||||
new SearchContext({
|
||||
ancestorNoteId: "_llmChat",
|
||||
limit,
|
||||
orderBy: "note.utcDateModified",
|
||||
orderBy: "utcDateModified",
|
||||
orderDirection: "desc"
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user