Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: sort json state files by name #736

Closed
wants to merge 2 commits into from

Conversation

tombedor
Copy link
Contributor

Sorting by name should work, as they are written in timestamp order.

Sorting by edit date results in unpredictable behavior when files are moved.

Re-enable logging from load_agent - unsure how to specifically filter llama noise, but filtering out logging overall made debugging difficult

Please describe the purpose of this pull request.
The fix is to help enable moving memgpt memory

How to test
You can restart an agent and things will function correctly.

Have you tested this PR?

Related issues or PRs
Please link any related GitHub issues or PRs.

Is your PR over 500 lines of code?
If so, please break up your PR into multiple smaller PRs so that we can review them quickly, or provide justification for its length.

Additional context
Add any other context or screenshots about the PR here.

tbedor-square and others added 2 commits December 28, 2023 19:16
Sorting by name should work, as they are written in timestamp order.

Sorting by edit date results in unpredictable behavior when files are
moved.

Re-enable logging from load_agent
@tombedor tombedor closed this Jan 12, 2024
@tombedor
Copy link
Contributor Author

closed as local file storage is being wound down

@tombedor tombedor deleted the tbedor/json_file_sort branch January 12, 2024 21:17
carenthomas pushed a commit that referenced this pull request Jan 24, 2025
Co-authored-by: Mindy Long <mindy@letta.com>
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.

2 participants