mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 19:11:13 +00:00
feat: Add fallback mechanism for agent and basic chain llm (#16617)
This commit is contained in:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user