agent node single run

This commit is contained in:
zxhlyh
2025-01-02 14:55:42 +08:00
parent 0ed4ec5cd0
commit a432fcfd5e
2 changed files with 4 additions and 1 deletions

View File

@ -75,7 +75,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
})()