mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
feat: Optimise langchain calls in batching mode (#15243)
This commit is contained in:
@@ -7,7 +7,7 @@ import type { IDataObject, INodeInputConfiguration, INodeProperties } from 'n8n-
|
||||
import { NodeConnectionTypes } from 'n8n-workflow';
|
||||
|
||||
import { promptTypeOptions, textFromPreviousNode } from '@utils/descriptions';
|
||||
import { getTemplateNoticeField } from '@utils/sharedFields';
|
||||
import { getBatchingOptionFields, getTemplateNoticeField } from '@utils/sharedFields';
|
||||
|
||||
/**
|
||||
* Dynamic input configuration generation based on node parameters
|
||||
@@ -259,6 +259,11 @@ export const nodeProperties: INodeProperties[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
getBatchingOptionFields({
|
||||
show: {
|
||||
'@version': [{ _cnd: { gte: 1.7 } }],
|
||||
},
|
||||
}),
|
||||
{
|
||||
displayName: `Connect an <a data-action='openSelectiveNodeCreator' data-action-parameter-connectiontype='${NodeConnectionTypes.AiOutputParser}'>output parser</a> on the canvas to specify the output format you require`,
|
||||
name: 'notice',
|
||||
|
||||
Reference in New Issue
Block a user