Made streaming support a configurable option within the AzureChatOpenAI node

This commit is contained in:
Darien Kindlund
2024-01-03 15:25:00 -05:00
parent 28bfd4128a
commit e8c85035f2
@@ -19,7 +19,7 @@ class AzureChatOpenAI_ChatModels implements INode {
constructor() { constructor() {
this.label = 'Azure ChatOpenAI' this.label = 'Azure ChatOpenAI'
this.name = 'azureChatOpenAI' this.name = 'azureChatOpenAI'
this.version = 2.0 this.version = 2.1
this.type = 'AzureChatOpenAI' this.type = 'AzureChatOpenAI'
this.icon = 'Azure.svg' this.icon = 'Azure.svg'
this.category = 'Chat Models' this.category = 'Chat Models'
@@ -102,6 +102,14 @@ class AzureChatOpenAI_ChatModels implements INode {
step: 1, step: 1,
optional: true, optional: true,
additionalParams: true additionalParams: true
},
{
label: 'Streaming',
name: 'streaming',
type: 'boolean',
default: true,
optional: true,
additionalParams: true
} }
] ]
} }