diff --git a/ui/admin/app/lib/service/api/toolreferenceService.ts b/ui/admin/app/lib/service/api/toolreferenceService.ts index 5605786ac..99b902395 100644 --- a/ui/admin/app/lib/service/api/toolreferenceService.ts +++ b/ui/admin/app/lib/service/api/toolreferenceService.ts @@ -37,6 +37,11 @@ async function getToolReferencesCategoryMap(type?: ToolReferenceType) { const result: ToolCategoryMap = {}; for (const toolReference of toolReferences) { + if (toolReference.deleted) { + // skip tools if marked with deleted + continue; + } + const category = !toolReference.builtin ? YourToolsToolCategory : toolReference.metadata?.category || UncategorizedToolCategory;