diff --git a/autogpt_platform/backend/backend/api/features/builder/db.py b/autogpt_platform/backend/backend/api/features/builder/db.py index 2d887ff950..dabca5d34f 100644 --- a/autogpt_platform/backend/backend/api/features/builder/db.py +++ b/autogpt_platform/backend/backend/api/features/builder/db.py @@ -120,6 +120,9 @@ def get_blocks( # Skip disabled blocks if block.disabled: continue + # Skip excluded blocks + if block.id in EXCLUDED_BLOCK_IDS: + continue # Skip blocks that don't match the category if category and category not in {c.name.lower() for c in block.categories}: continue