From 4dde287cde3af7c9c0e57248e96b8f1270da9332 Mon Sep 17 00:00:00 2001 From: oleg Date: Thu, 21 Nov 2024 14:31:00 +0100 Subject: [PATCH] fix(OpenAI Node): Remove preview chatInput parameter for `Assistant:Messsage` operation (#11825) --- .../OpenAi/actions/assistant/message.operation.ts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/packages/@n8n/nodes-langchain/nodes/vendors/OpenAi/actions/assistant/message.operation.ts b/packages/@n8n/nodes-langchain/nodes/vendors/OpenAi/actions/assistant/message.operation.ts index 9af94a2121..959d487abe 100644 --- a/packages/@n8n/nodes-langchain/nodes/vendors/OpenAi/actions/assistant/message.operation.ts +++ b/packages/@n8n/nodes-langchain/nodes/vendors/OpenAi/actions/assistant/message.operation.ts @@ -18,7 +18,7 @@ import { } from 'n8n-workflow'; import { OpenAI as OpenAIClient } from 'openai'; -import { promptTypeOptions, textFromPreviousNode } from '../../../../../utils/descriptions'; +import { promptTypeOptions } from '../../../../../utils/descriptions'; import { getConnectedTools } from '../../../../../utils/helpers'; import { getTracingConfig } from '../../../../../utils/tracing'; import { formatToOpenAIAssistantTool } from '../../helpers/utils'; @@ -30,16 +30,6 @@ const properties: INodeProperties[] = [ ...promptTypeOptions, name: 'prompt', }, - { - ...textFromPreviousNode, - disabledOptions: { show: { prompt: ['auto'] } }, - displayOptions: { - show: { - prompt: ['auto'], - '@version': [{ _cnd: { gte: 1.7 } }], - }, - }, - }, { displayName: 'Text', name: 'text',