mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(OpenAI Node): Remove preview chatInput parameter for Assistant:Messsage operation (#11825)
This commit is contained in:
@@ -18,7 +18,7 @@ import {
|
|||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
import { OpenAI as OpenAIClient } from 'openai';
|
import { OpenAI as OpenAIClient } from 'openai';
|
||||||
|
|
||||||
import { promptTypeOptions, textFromPreviousNode } from '../../../../../utils/descriptions';
|
import { promptTypeOptions } from '../../../../../utils/descriptions';
|
||||||
import { getConnectedTools } from '../../../../../utils/helpers';
|
import { getConnectedTools } from '../../../../../utils/helpers';
|
||||||
import { getTracingConfig } from '../../../../../utils/tracing';
|
import { getTracingConfig } from '../../../../../utils/tracing';
|
||||||
import { formatToOpenAIAssistantTool } from '../../helpers/utils';
|
import { formatToOpenAIAssistantTool } from '../../helpers/utils';
|
||||||
@@ -30,16 +30,6 @@ const properties: INodeProperties[] = [
|
|||||||
...promptTypeOptions,
|
...promptTypeOptions,
|
||||||
name: 'prompt',
|
name: 'prompt',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
...textFromPreviousNode,
|
|
||||||
disabledOptions: { show: { prompt: ['auto'] } },
|
|
||||||
displayOptions: {
|
|
||||||
show: {
|
|
||||||
prompt: ['auto'],
|
|
||||||
'@version': [{ _cnd: { gte: 1.7 } }],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
displayName: 'Text',
|
displayName: 'Text',
|
||||||
name: 'text',
|
name: 'text',
|
||||||
|
|||||||
Reference in New Issue
Block a user