Skip to content
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

feature(platform): Implement library add, update, remove, archive functionality #9218

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
4465994
Allow execution of store listings
Swiftyos Jan 3, 2025
6b9580b
Merge branch 'dev' into swiftyos/open-2276-add-ability-to-execute-sto…
Swiftyos Jan 3, 2025
6df94aa
updated comment to make the meaning of userId clearer
Swiftyos Jan 3, 2025
a7e0af0
Merge branch 'swiftyos/open-2276-add-ability-to-execute-store-agents-…
Swiftyos Jan 3, 2025
c6daeef
Merge branch 'dev' into swiftyos/open-2276-add-ability-to-execute-sto…
Swiftyos Jan 7, 2025
69747cc
added preset functionality
Swiftyos Jan 7, 2025
4f861e3
fixed merged error
Swiftyos Jan 7, 2025
797f9ed
fmt
Swiftyos Jan 7, 2025
9750b79
Merge branch 'dev' into swiftyos/open-2278-implement-agent-preset-fun…
Swiftyos Jan 7, 2025
c027080
Update autogpt_platform/backend/backend/server/model.py
Swiftyos Jan 7, 2025
46d573c
added error message to logs
Swiftyos Jan 7, 2025
bb8e562
Update autogpt_platform/backend/backend/data/graph.py
Swiftyos Jan 7, 2025
0c4888f
add from_db test
Swiftyos Jan 7, 2025
f051266
Merge branch 'dev' into swiftyos/open-2276-add-ability-to-execute-sto…
Swiftyos Jan 7, 2025
37e8b51
add isActive filter back in
Swiftyos Jan 8, 2025
5259875
add preset execution
Swiftyos Jan 8, 2025
783ca12
Merge branch 'swiftyos/open-2276-add-ability-to-execute-store-agents-…
Swiftyos Jan 8, 2025
37c5999
add library management functions
Swiftyos Jan 8, 2025
fa5f24e
add db functions
Swiftyos Jan 8, 2025
2a86f22
updated router
Swiftyos Jan 8, 2025
bc8043b
fix tests
Swiftyos Jan 8, 2025
7ce06b2
Merge branch 'dev' into swiftyos/open-2277-implement-library-add-upda…
Swiftyos Jan 10, 2025
f1ce98e
fmt
Swiftyos Jan 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions autogpt_platform/backend/backend/server/v2/library/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,6 @@ async def create_or_update_preset(
preset_id: str | None = None,
) -> backend.server.v2.library.model.LibraryAgentPreset:
try:

logger.info(f"DB Creating Preset with inputs: {preset.inputs}")
new_preset = await prisma.models.AgentPreset.prisma().upsert(
where={
"id": preset_id if preset_id else "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class LibraryAgentPreset(pydantic.BaseModel):
description: str

is_active: bool

inputs: dict[str, typing.Union[backend.data.block.BlockInput, typing.Any]]

@staticmethod
Expand Down
Loading