diff --git a/packages/@n8n/nodes-langchain/nodes/memory/descriptions.ts b/packages/@n8n/nodes-langchain/nodes/memory/descriptions.ts index 4627671a9b5ae..fd0a022015129 100644 --- a/packages/@n8n/nodes-langchain/nodes/memory/descriptions.ts +++ b/packages/@n8n/nodes-langchain/nodes/memory/descriptions.ts @@ -6,10 +6,10 @@ export const sessionIdOption: INodeProperties = { type: 'options', options: [ { - // eslint-disable-next-line n8n-nodes-base/node-param-display-name-miscased - name: 'Take from previous node automatically', + name: 'Connected Chat Trigger Node', value: 'fromInput', - description: 'Looks for an input field called sessionId', + description: + "Looks for an input field called 'sessionId' that is coming from a directly connected Chat Trigger", }, { // eslint-disable-next-line n8n-nodes-base/node-param-display-name-miscased diff --git a/packages/@n8n/nodes-langchain/utils/descriptions.ts b/packages/@n8n/nodes-langchain/utils/descriptions.ts index ef683df3e9539..e629bab812729 100644 --- a/packages/@n8n/nodes-langchain/utils/descriptions.ts +++ b/packages/@n8n/nodes-langchain/utils/descriptions.ts @@ -71,13 +71,12 @@ export const promptTypeOptions: INodeProperties = { type: 'options', options: [ { - // eslint-disable-next-line n8n-nodes-base/node-param-display-name-miscased - name: 'Take from previous node automatically', + name: 'Connected Chat Trigger Node', value: 'auto', - description: 'Looks for an input field called chatInput', + description: + "Looks for an input field called 'chatInput' that is coming from a directly connected Chat Trigger", }, { - // eslint-disable-next-line n8n-nodes-base/node-param-display-name-miscased name: 'Define below', value: 'define', description: 'Use an expression to reference data in previous nodes or enter static text', diff --git a/packages/@n8n/nodes-langchain/utils/helpers.ts b/packages/@n8n/nodes-langchain/utils/helpers.ts index f19cf67153526..6b5816e7b8af1 100644 --- a/packages/@n8n/nodes-langchain/utils/helpers.ts +++ b/packages/@n8n/nodes-langchain/utils/helpers.ts @@ -130,7 +130,7 @@ export function getSessionId( if (sessionId === '' || sessionId === undefined) { throw new NodeOperationError(ctx.getNode(), 'Key parameter is empty', { description: - "Provide a key to use as session ID in the 'Key' parameter or use the 'Take from previous node automatically' option to use the session ID from the previous node, e.t. chat trigger node", + "Provide a key to use as session ID in the 'Key' parameter or use the 'Connected Chat Trigger Node' option to use the session ID from your Chat Trigger", itemIndex, }); }