Skip to content

Commit 027a479

Browse files
authored
fix(OpenAI Node): Hide the option to return URL for gpt-image-1 model (#15392)
1 parent 218007e commit 027a479

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/@n8n/nodes-langchain/nodes/vendors/OpenAi/actions/image/generate.operation.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,11 @@ const properties: INodeProperties[] = [
221221
type: 'boolean',
222222
default: false,
223223
description: 'Whether to return image URL(s) instead of binary file(s)',
224+
displayOptions: {
225+
hide: {
226+
'/model': ['gpt-image-1'],
227+
},
228+
},
224229
},
225230
{
226231
displayName: 'Put Output in Field',

0 commit comments

Comments
 (0)