Feature/Add dedicated agent memory nodes (#3649)

add dedicated agent memory nodes
This commit is contained in:
Henry Heng
2024-12-06 22:16:01 +00:00
committed by GitHub
parent fe2ed26999
commit cadc3b8fb3
12 changed files with 330 additions and 15 deletions
+4 -2
View File
@@ -56,15 +56,17 @@ function a11yProps(index) {
const blacklistCategoriesForAgentCanvas = ['Agents', 'Memory', 'Record Manager', 'Utilities']
const agentMemoryNodes = ['agentMemory', 'sqliteAgentMemory', 'postgresAgentMemory', 'mySQLAgentMemory']
// Show blacklisted nodes (exceptions) for agent canvas
const exceptionsForAgentCanvas = {
Memory: ['agentMemory'],
Memory: agentMemoryNodes,
Utilities: ['getVariable', 'setVariable', 'stickyNote']
}
// Hide some nodes from the chatflow canvas
const blacklistForChatflowCanvas = {
Memory: ['agentMemory']
Memory: agentMemoryNodes
}
const AddNodes = ({ nodesData, node, isAgentCanvas }) => {