mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 16:44:07 -08:00
wip commit
This commit is contained in:
parent
8e85ff55a0
commit
e2d4a6136c
|
@ -211,6 +211,15 @@ export const useActions = () => {
|
||||||
OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE,
|
OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
const node1 = addedNodes[0];
|
||||||
|
if (node1 !== undefined && node1.type === AGENT_NODE_TYPE) {
|
||||||
|
console.log(node1);
|
||||||
|
setAddedNodeActionParameters({
|
||||||
|
name: 'x',
|
||||||
|
key: 'x',
|
||||||
|
value: 'x',
|
||||||
|
});
|
||||||
|
}
|
||||||
const isCompatibleNode = addedNodes.some((node) => COMPATIBLE_CHAT_NODES.includes(node.type));
|
const isCompatibleNode = addedNodes.some((node) => COMPATIBLE_CHAT_NODES.includes(node.type));
|
||||||
|
|
||||||
if (!isCompatibleNode) return false;
|
if (!isCompatibleNode) return false;
|
||||||
|
|
Loading…
Reference in a new issue