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

feat: enable adding presets via the CLI #1131

Merged
merged 2 commits into from
Mar 11, 2024
Merged

feat: enable adding presets via the CLI #1131

merged 2 commits into from
Mar 11, 2024

Conversation

sarahwooders
Copy link
Collaborator

@sarahwooders sarahwooders commented Mar 11, 2024

Please describe the purpose of this pull request.

  • Presets are now stored in the DB, not in files, so this PR updates the CLI to allow adding a preset via specifying a preset YAML file.
  • Also minor bugfixes with reading persona information from the DB instead of local files on memgpt run.

How to test

> memgpt load preset -f custom_preset.yaml --name my_preset
> memgpt list presets
> memgpt delete preset my_preset 

Have you tested this PR?
Yes

@sarahwooders sarahwooders changed the title fix: enable adding presets via the CLI feat: enable adding presets via the CLI Mar 11, 2024
@cpacker cpacker self-requested a review March 11, 2024 22:01
@sarahwooders sarahwooders merged commit c73aee3 into main Mar 11, 2024
6 checks passed
@cpacker cpacker deleted the presets-fixes branch March 11, 2024 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants