mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 00:35:56 +08:00
fix: workflow as tool always outdated (#8798)
This commit is contained in:
parent
008e0efeb0
commit
6df14e50b2
@ -65,7 +65,7 @@ const WorkflowToolConfigureButton = ({
|
||||
else {
|
||||
if (item.type === 'paragraph' && param.type !== 'string')
|
||||
return true
|
||||
if (param.type !== item.type && !(param.type === 'string' && item.type === 'paragraph'))
|
||||
if (item.type === 'text-input' && param.type !== 'string')
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user