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

Create alembic to migrate current agents memory to new memory block #2117

Open
Sapessii opened this issue Nov 28, 2024 · 5 comments
Open

Create alembic to migrate current agents memory to new memory block #2117

Sapessii opened this issue Nov 28, 2024 · 5 comments
Assignees

Comments

@Sapessii
Copy link

Is your feature request related to a problem? Please describe.
Hi, as the title suggests, in order to not lose the current agents memory, create an alembic script to migrate the current column "memory" in agents table to the new block_agents table

Thank you!

@Sapessii
Copy link
Author

Sapessii commented Dec 2, 2024

hi @mattzh72 , do you have any update on this? thank you

@sarahwooders
Copy link
Collaborator

Could you please share the version of letta you were previously using, and also share your data if possible?

We only support automated migrations for postgres (you can see details on using letta+docker here: https://docs.letta.com/server/docker)

@Sapessii
Copy link
Author

Sapessii commented Dec 6, 2024

hi @sarahwooders , it's 0.5.4

I'm referring to the alembic migration 5987401b40ae, which deletes the column memory inside agents, where it's stored the block id of the memory of an agent.
As I can see if it gets deleted, all the previous agents will lose access to the memory, I guess we'd need a script to migrate that column inside the new table block_agents.

Please let me know if you need further information, thank you!

@mattzh72
Copy link
Collaborator

mattzh72 commented Dec 6, 2024

Hi! You're using postgres right? We're looking into this issue right now.

@Sapessii
Copy link
Author

Sapessii commented Dec 6, 2024

hi @mattzh72, correct, thanks a lot!

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

No branches or pull requests

3 participants