-
Notifications
You must be signed in to change notification settings - Fork 44.5k
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(backend): Spin-up Database manager on rest.py #8832
fix(backend): Spin-up Database manager on rest.py #8832
Conversation
✅ Deploy Preview for auto-gpt-docs-dev canceled.
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
✅ Deploy Preview for auto-gpt-docs canceled.
|
@aarushik93 I decoupled changes of dbmanager from the rest of the change in #8751, to expedite this fix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of these changes also match up with moving Supabase credentials provider to backend
…ve-a-db-manager-process-origin
…ve-a-db-manager-process-origin
No there's an open pr to move the credentials providers to the backed |
AutoGPT-lib is used in both Rest API & Execution Manager, due to the interdependency of the module, some unexpected infra changes were inferred:
DatabaseManager
service is required in both RestAPI & ExecutionManagerThe scope of this PR is to clear this out.
Changes 🏗️
DatabaseManager
on RestAPI service.DATABASEMANAGER_HOST
settings.Out of scope:
Decouple DatabaseManager service from RestAPI service, and use direct async prisma query instead.
Checklist 📋
For code changes:
Example test plan
For configuration changes:
.env.example
is updated or already compatible with my changesdocker-compose.yml
is updated or already compatible with my changesExamples of configuration changes