feat: add support for CUSTOM tool type in tool list retrieval

This commit is contained in:
CaptainB 2025-08-12 16:01:07 +08:00
parent e9c8c9581f
commit f2459ed124

View File

@ -254,6 +254,7 @@ async function getToolList() {
systemType: 'workspace',
}).getToolList({
folder_id: folder.currentFolder?.id || user.getWorkspaceId(),
tool_type: 'CUSTOM'
})
toolList.value = res.data?.tools || res.data || []
toolList.value = toolList.value?.filter((item: any) => item.is_active)