Skip to content

Sort session loading by modification time#407

Merged
s-kostyaev merged 2 commits intomainfrom
fix-session-load-sorting
Apr 29, 2026
Merged

Sort session loading by modification time#407
s-kostyaev merged 2 commits intomainfrom
fix-session-load-sorting

Conversation

@s-kostyaev
Copy link
Copy Markdown
Owner

Summary

  • Sort saved session load candidates newest-first by file modification time.
  • Add completion metadata requesting that completion UIs preserve Ellama's candidate order.
  • Add tests for session candidate ordering and completion metadata.

Tests

  • make format-elisp
  • make build
  • make test
  • make check-compile-warnings
  • make checkdocs

Closes #395

Added newest-first session file candidate ordering for ellama-load-session and a completion table that asks completion UIs to preserve Ellama's candidate order. Added tests for candidate ordering and completion metadata.
@s-kostyaev s-kostyaev merged commit 89d724f into main Apr 29, 2026
14 checks passed
@s-kostyaev s-kostyaev deleted the fix-session-load-sorting branch April 29, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Load Session with Newest to Oldest

1 participant