Update core/util/history.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
parent
6a6a0b388e
commit
ec592c7229
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ export class HistoryManager {
|
|||
.filter((session: any) => {
|
||||
// Filter out old format
|
||||
return typeof session.session_id !== "string";
|
||||
// We apply reverse() because they are in reverse chronological order
|
||||
// Reverse to show newest first; sessions.json is chronological by creation
|
||||
})
|
||||
.reverse();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue