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: properly handle CLI flags passed to memgpt run #833

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

cpacker
Copy link
Collaborator

@cpacker cpacker commented Jan 16, 2024

Please describe the purpose of this pull request.

Properly handle CLI flags passed to memgpt run when creating a new agent (previously they were ignored)

E.g.:

memgpt run --model-wrapper chatml-noforce

Would not actually set the wrapper to chatml-noforce if you created a new agent.

How to test

memgpt run --model-wrapper XXX --debug, where XXX is not the default. Inspect the output of --debug to spot check that the correct prompt formatter is being used.

Copy link
Collaborator

@sarahwooders sarahwooders left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@sarahwooders sarahwooders merged commit d1a73f5 into main Jan 16, 2024
3 checks passed
@cpacker cpacker deleted the allow-overriding-llm-config-on-cli-run branch January 21, 2024 07:28
norton120 pushed a commit to norton120/MemGPT that referenced this pull request Feb 15, 2024
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