feat: Add fallback mechanism for agent and basic chain llm (#16617)

This commit is contained in:
Benjamin Schroth
2025-06-26 16:14:03 +02:00
committed by GitHub
parent 0b7bca29f8
commit 6408d5a1b0
20 changed files with 476 additions and 140 deletions

View File

@@ -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);
}