mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat: Add fallback mechanism for agent and basic chain llm (#16617)
This commit is contained in:
@@ -1189,11 +1189,15 @@ async function onSwitchActiveNode(nodeName: string) {
|
||||
selectNodes([node.id]);
|
||||
}
|
||||
|
||||
async function onOpenSelectiveNodeCreator(node: string, connectionType: NodeConnectionType) {
|
||||
nodeCreatorStore.openSelectiveNodeCreator({ node, connectionType });
|
||||
async function onOpenSelectiveNodeCreator(
|
||||
node: string,
|
||||
connectionType: NodeConnectionType,
|
||||
connectionIndex: number = 0,
|
||||
) {
|
||||
nodeCreatorStore.openSelectiveNodeCreator({ node, connectionType, connectionIndex });
|
||||
}
|
||||
|
||||
async function onOpenNodeCreatorForTriggerNodes(source: NodeCreatorOpenSource) {
|
||||
function onOpenNodeCreatorForTriggerNodes(source: NodeCreatorOpenSource) {
|
||||
nodeCreatorStore.openNodeCreatorForTriggerNodes(source);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user