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: deprecate AgentConfig in favor of AgentState. #803

Merged
merged 6 commits into from
Jan 11, 2024
Merged

Conversation

sarahwooders
Copy link
Collaborator

@sarahwooders sarahwooders commented Jan 9, 2024

Please describe the purpose of this pull request.
With the new storage refactor, we need to remove AgentConfig (stored locally per-user) and replace it with AgentState. We also can no longer assume that there is a local MemGPTConfig file that we can read from, as the server will not have access to this, so I modified parts of the code to assume that the config if passed in.

Things that needed to be removed:

  • Any usage of AgentConfig
  • Any usage of MemGPTConfig.load() (unless a top-level CLI command, which is still single-user)

How to test
TBD

Have you tested this PR?
TBD

Is your PR over 500 lines of code?
No

@cpacker cpacker merged commit 50b2cb4 into main Jan 11, 2024
3 checks passed
@cpacker cpacker deleted the remove_agent_config branch January 11, 2024 04:23
cpacker pushed a commit that referenced this pull request Jan 29, 2025
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