-
Notifications
You must be signed in to change notification settings - Fork 44.9k
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): Enable executing store agents without agent ownership #9267
base: dev
Are you sure you want to change the base?
feat(backend): Enable executing store agents without agent ownership #9267
Conversation
Enable the tests in `monitor.spec.ts`. * Remove `test.describe.skip` to enable the tests. * Ensure the tests are now running and passing successfully. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Significant-Gravitas/AutoGPT?shareId=XXXX-XXXX-XXXX-XXXX).
…wnership (#9179) This PR enables the execution of store agents even if they are not owned by the user. Key changes include handling store-listed agents in the `get_graph` logic, improving execution flow, and ensuring version-specific handling. These updates support more flexible agent execution. - **Graph Retrieval:** Updated `get_graph` to check store listings for agents not owned by the user. - **Version Handling:** Added `graph_version` to execution methods for consistent version-specific execution. - **Execution Flow:** Refactored `scheduler.py`, `rest_api.py`, and other modules for clearer logic and better maintainability. - **Testing:** Updated `test_manager.py` and other test cases to validate execution of store-listed agents added test for accessing graph --------- Co-authored-by: Reinier van der Leer <[email protected]> Co-authored-by: Zamil Majdy <[email protected]>
…ts/open-2276-add-ability-to-execute-store-agents-without-agent-ownership
✅ Deploy Preview for auto-gpt-docs-dev canceled.
|
✅ Deploy Preview for auto-gpt-docs canceled.
|
@@ -151,3 +152,9 @@ class StoreReviewCreate(pydantic.BaseModel): | |||
store_listing_version_id: str | |||
score: int | |||
comments: str | None = None | |||
|
|||
|
|||
class ReviewSubmissionRequest(pydantic.BaseModel): |
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.
whats with the pydantic import like this?
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.
…agents-without-agent-ownership
af6be24
to
03df229
Compare
…agents-without-agent-ownership
Without this constraint, `review_store_submission` fails.
I'm going to undelete the template functionality before merging this. Because this PR doesn't introduce a suitable replacement and doesn't properly clean up the related code either. |
This re-introduces PR #9179 with some fixes.
This PR enables the execution of store agents even if they are not owned by the user. Key changes include handling store-listed agents in the
get_graph
logic, improving execution flow, and ensuring version-specific handling. These updates support more flexible agent execution.Changes 🏗️
(copied from #9179)
get_graph
to check store listings for agents not owned by the user.graph_version
to execution methods for consistent version-specific execution.scheduler.py
,rest_api.py
, and other modules for clearer logic and better maintainability.test_manager.py
and other test cases to validate execution of store-listed agents added test for accessing graphOut-of-scope changes: