@ -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
})()
@ -395,6 +395,7 @@ export const canRunBySingle = (nodeType: BlockEnum) => {
|| nodeType === BlockEnum.Tool
|| nodeType === BlockEnum.ParameterExtractor
|| nodeType === BlockEnum.Iteration
|| nodeType === BlockEnum.Agent
}
type ConnectedSourceOrTargetNodesChange = {