AutoGPT
AutoGPT copied to clipboard
feat(backend): Agent Presets backend improvements
-
Part of #9307
-
β Blocks #9541
Changes ποΈ
Backend:
-
Fix+improve
GET /library/presets(list_presets) endpoint- Fix pagination
- Add
graph_idfilter parameter
-
Allow partial preset updates:
PUT /presets/{preset_id}->PATCH /presets/{preset_id} -
Allow creating preset from graph execution through
POST /presets -
Clean up models & DB functions
- Split
upsert_presetintocreate_preset+update_preset - Add
LibraryAgentPresetUpdatable - Replace
CreateLibraryAgentPresetRequestwithLibraryAgentPresetCreatable- Use
LibraryAgentPresetCreatableas base class forLibraryAgentPreset
- Use
- Remove redundant
set_is_deleted_for_library_agent(..) - Improve log statements
- Improve DB statements (e.g. by using unique keys where possible)
- Split
Frontend:
- Add timestamp parsing logic to library agent preset endpoints
- Brand
LibraryAgentPreset.id+ references
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:
- [x] CI green
- Since these changes don't affect existing front-end functionality, no additional testing is needed.
Deploy Preview for auto-gpt-docs-dev canceled.
| Name | Link |
|---|---|
| Latest commit | bd9dd8462a35a115815ff8b4fc63dba51bb53c1b |
| Latest deploy log | https://app.netlify.com/projects/auto-gpt-docs-dev/deploys/6841bbba4d3de400081e4b8e |
Here's the code health analysis summary for commits 7d10dc4..bd9dd84. View details on DeepSourceΒ β.
Analysis Summary
| Analyzer | Status | Summary | Link |
|---|---|---|---|
| β Β Success | β 2 occurences introduced π― 17 occurences resolved | View CheckΒ β | |
| β Β Success | β 3 occurences introduced π― 4 occurences resolved | View CheckΒ β |
π‘ If youβre a repository administrator, you can configure the quality gates from the settings.
Deploy Preview for auto-gpt-docs canceled.
| Name | Link |
|---|---|
| Latest commit | bd9dd8462a35a115815ff8b4fc63dba51bb53c1b |
| Latest deploy log | https://app.netlify.com/projects/auto-gpt-docs/deploys/6841bbbab20bce00082d37d3 |
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.
Conflicts have been resolved! π A maintainer will review the pull request shortly.
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.
Conflicts have been resolved! π A maintainer will review the pull request shortly.
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.
Let me know when you have resolved the conflicts so I can reapprove
Conflicts have been resolved! π A maintainer will review the pull request shortly.
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request.
Conflicts have been resolved! π A maintainer will review the pull request shortly.