-
Notifications
You must be signed in to change notification settings - Fork 44.8k
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
[Marketplace] Self-Host Users can no longer download Agents #9120
Labels
bug
Something isn't working
platform/backend
AutoGPT Platform - Back end
platform/frontend
AutoGPT Platform - Front end
Comments
Torantulino
added
bug
Something isn't working
platform/backend
AutoGPT Platform - Back end
platform/frontend
AutoGPT Platform - Front end
labels
Dec 21, 2024
— with
Linear
Torantulino
changed the title
Self-Host Users can no longer download Agents
[Marketplace] Self-Host Users can no longer download Agents
Dec 21, 2024
github-merge-queue bot
pushed a commit
that referenced
this issue
Jan 3, 2025
- resolves - #9120 ### Changes - Added a new endpoint to download agent files as JSON, allowing users to retrieve agent data by store listing version ID and version number. - Introduced a new `get_agent` function in the database module to fetch agent details and prepare the graph data for download. - Enhanced the frontend `AgentInfo` component to include a download button, which triggers the download of the agent file. - Integrated loading state and user feedback via toast notifications during the download process. - Updated the API client to support the new download functionality. ### Demo video https://github.com/user-attachments/assets/6744a753-297f-4ccc-abde-f56ca24ed2d5 ### Example Json ```json { "id": "14378095-4cc5-41ea-975e-bd0bce010bea", "version": 1, "is_active": true, "is_template": false, "name": "something", "description": "1", "nodes": [ { "id": "6914efa0-e4fa-4ce8-802c-d5577cf061b6", "block_id": "aeb08fc1-2fc1-4141-bc8e-f758f183a822", "input_default": {}, "metadata": { "position": { "x": 756, "y": 452.5 } }, "input_links": [], "output_links": [], "webhook_id": null, "graph_id": "14378095-4cc5-41ea-975e-bd0bce010bea", "graph_version": 1, "webhook": null } ], "links": [], "input_schema": { "type": "object", "properties": {}, "required": [] }, "output_schema": { "type": "object", "properties": {}, "required": [] } } ``` --------- Co-authored-by: SwiftyOS <craigswift13@gmail.com>
Hi, |
Hey @softworkz, not currently, but this is fixed now and will be released officially on Wednesday. Jump into our discord if you'd like to chat to me or the team directly: https://discord.gg/autogpt |
@Torantulino - great! Thanks a lot for your response. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
platform/backend
AutoGPT Platform - Back end
platform/frontend
AutoGPT Platform - Front end
The current (temporary) behaviour of the "Add to Library" button is to deep copy the Agent in the database and add an entry for the user, however if the user is not logged in (i.e if they're a self-host user) then they need to download the agent JSON file.
Video showing the old functionality which is now missing:
Download & Import an Agent for Local Host Users in AutoGPT
The text was updated successfully, but these errors were encountered: