fix(CI): fix CI errors

This commit is contained in:
zhsama
2025-10-30 16:54:17 +08:00
parent b25d379ef4
commit db744444f2
9 changed files with 11 additions and 14 deletions

View File

@ -16,7 +16,7 @@ export const getToolCheckParams = (
workflowTools: ToolWithProvider[],
language: string,
) => {
const { provider_id, provider_type, tool_name: tool_name } = toolData
const { provider_id, provider_type, tool_name } = toolData
const isBuiltIn = provider_type === CollectionType.builtIn
const currentTools = provider_type === CollectionType.builtIn ? buildInTools : provider_type === CollectionType.custom ? customTools : workflowTools
const currCollection = currentTools.find(item => canFindTool(item.id, provider_id))