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

@@ -46,7 +46,11 @@ const emit = defineEmits<{
saveKeyboardShortcut: [event: KeyboardEvent];
valueChanged: [parameterData: IUpdateInformation];
switchSelectedNode: [nodeTypeName: string];
openConnectionNodeCreator: [nodeTypeName: string, connectionType: NodeConnectionType];
openConnectionNodeCreator: [
nodeTypeName: string,
connectionType: NodeConnectionType,
connectionIndex?: number,
];
redrawNode: [nodeName: string];
stopExecution: [];
}>();
@@ -500,8 +504,12 @@ const onSwitchSelectedNode = (nodeTypeName: string) => {
emit('switchSelectedNode', nodeTypeName);
};
const onOpenConnectionNodeCreator = (nodeTypeName: string, connectionType: NodeConnectionType) => {
emit('openConnectionNodeCreator', nodeTypeName, connectionType);
const onOpenConnectionNodeCreator = (
nodeTypeName: string,
connectionType: NodeConnectionType,
connectionIndex: number = 0,
) => {
emit('openConnectionNodeCreator', nodeTypeName, connectionType, connectionIndex);
};
const close = async () => {