mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 15:00:57 +03:00
Chore/read write tools update (#5275)
* add tools warning * Enhance file handling tools with security features - Introduced new input parameters: workspacePath, enforceWorkspaceBoundaries, maxFileSize, and allowedExtensions for better control over file operations. - Added validation for file paths and sizes to prevent unsafe operations. - Implemented workspace boundary checks to restrict file access based on user-defined settings.
This commit is contained in:
@@ -191,6 +191,8 @@ const AgentFlowNode = ({ data }) => {
|
||||
componentNode?.deprecateMessage ??
|
||||
'This node will be deprecated in the next release. Change to a new node tagged with NEW'
|
||||
)
|
||||
} else if (componentNode.warning) {
|
||||
setWarningMessage(componentNode.warning)
|
||||
} else {
|
||||
setWarningMessage('')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user