-
Notifications
You must be signed in to change notification settings - Fork 45.2k
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(backend): Library v2 Agents and Presets #9258
feat(backend): Library v2 Agents and Presets #9258
Conversation
✅ Deploy Preview for auto-gpt-docs-dev canceled.
|
✅ Deploy Preview for auto-gpt-docs canceled.
|
…nto pwuts/open-2314-fix-up-and-re-introduce-library-v2-back-end-work
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
a8ac410
to
85180e1
Compare
autogpt_platform/backend/backend/server/v2/library/routes/presets.py
Outdated
Show resolved
Hide resolved
Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly. |
@Pwuts are you okay with me picking this up again now I'm back? |
See #9357, I've cherry picked your changes into my branch |
80acf46
to
a1b8e60
Compare
Here's the code health analysis summary for commits Analysis Summary
|
This comment was marked as outdated.
This comment was marked as outdated.
…ry-v2-back-end-work
92ee106
to
158e32d
Compare
91a606e
to
680ad03
Compare
…#9498) - Follow-up to #9258 The front end is fetching `/library/agents` -> `LibraryAgent[]` but using the result as `GraphMeta[]`. This breaks a bunch of things. ### Changes 🏗️ Frontend: - Add `LibraryAgent` type for `api.listLibraryAgents()` - Amend all broken usages of `LibraryAgent` objects - Introduce branded typing for `LibraryAgent.id` and `GraphMeta.id` to disallow mixing them. This prevents incorrect use in the future, and reduces the chance of this frontend issue accumulating interest on existing open PRs. Backend: - Add a migration to create `LibraryAgent` objects for all existing `AgentGraphs` ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [x] Check that all existing agents are listed in the agents list on `/monitoring` (check against DB or `GET /api/graphs`) - [x] Check that all views of `/monitoring` work - [x] Try to run an agent and check its status
This re-introduces changes from the following PRs with fixes:
Changes 🏗️
Fixes:
v2.library.db
node_input
parametersChecklist 📋
For code changes: