Skip to content

Commit

Permalink
fix(OpenAI Node): Remove preview chatInput parameter for "message ass…
Browse files Browse the repository at this point in the history
…istant" operation
  • Loading branch information
OlegIvaniv committed Nov 21, 2024
1 parent d99e0a7 commit d6e6247
Showing 1 changed file with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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',
Expand Down

0 comments on commit d6e6247

Please sign in to comment.