mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-30 01:32:49 +00:00
feat: add support for CUSTOM tool type in tool list retrieval
This commit is contained in:
parent
e9c8c9581f
commit
f2459ed124
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue