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: allow passing full postgres URI and only override config URI is env variables provided #1327

Merged
merged 12 commits into from
May 3, 2024

Conversation

sarahwooders
Copy link
Collaborator

Please describe the purpose of this pull request.
We should eventually migrate to more cleanly directly using environment variables if provided, and defaulting to the config file otherwise, but these are some short-term fixes:

  • Allow passing full postgres URI
  • Only override config URI is env variables provided

Related issues or PRs
#1319

Is your PR over 500 lines of code?
No

@sarahwooders sarahwooders requested a review from cpacker May 3, 2024 16:08
@sarahwooders sarahwooders linked an issue May 3, 2024 that may be closed by this pull request
2 tasks
@sarahwooders sarahwooders mentioned this pull request May 3, 2024
2 tasks
@cpacker cpacker merged commit 29ae747 into main May 3, 2024
7 checks passed
@cpacker cpacker deleted the pg-uri branch May 3, 2024 17:39
neverbiasu pushed a commit to neverbiasu/MemGPT that referenced this pull request May 6, 2024
…env variables provided (cpacker#1327)

Co-authored-by: cpacker <packercharles@gmail.com>
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.

Config's URI is overridden
2 participants