Merge branch 'feat/plugins' of https://github.com/langgenius/dify into feat/plugins

This commit is contained in:
AkaraChen
2025-01-02 15:03:23 +08:00
2 changed files with 4 additions and 1 deletions

View File

@ -102,7 +102,9 @@ const useConfig = (id: string, payload: AgentNodeType) => {
defaultRunInputData: {},
})
const allVarStrArr = (() => {
const arr = ['']
const arr = currentStrategy?.parameters.filter(item => item.type === 'string').map((item) => {
return formData[item.name]
}) || []
return arr
})()