mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-11 07:15:08 -05:00
This PR makes several improvements to the `update_library_agent` endpoint. - Resolves #10216 ### Changes 🏗️ - Add `DELETE /library/agents/{id}` endpoint - Fix `PUT /library/agents/{id}` endpoint - Return updated library agent - Remove `is_deleted` parameter - Change method from `PUT` to `PATCH` Also, a small DX improvement: - Expose `BackendAPI` globally through `window.api` for local dev purposes ### 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] Deleting library agents works