mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix: Minor streaming fixes (no-changelog) (#17683)
This commit is contained in:
@@ -27,8 +27,7 @@ export class Agent extends VersionedNodeType {
|
||||
],
|
||||
},
|
||||
},
|
||||
// We keep defaultVersion as 2.1 to ensure we publish streaming when everything is ready
|
||||
defaultVersion: 2.1,
|
||||
defaultVersion: 2.2,
|
||||
};
|
||||
|
||||
const nodeVersions: IVersionedNodeType['nodeVersions'] = {
|
||||
|
||||
@@ -48,7 +48,7 @@ const lastNodeResponseMode = {
|
||||
};
|
||||
|
||||
const streamingResponseMode = {
|
||||
name: 'Streaming Response',
|
||||
name: 'Streaming',
|
||||
value: 'streaming',
|
||||
description: 'Streaming response from specified nodes (e.g. Agents)',
|
||||
};
|
||||
@@ -495,7 +495,7 @@ export class ChatTrigger extends Node {
|
||||
displayName: 'Response Mode',
|
||||
name: 'responseMode',
|
||||
type: 'options',
|
||||
options: [lastNodeResponseMode, respondToWebhookResponseMode],
|
||||
options: [lastNodeResponseMode, streamingResponseMode, respondToWebhookResponseMode],
|
||||
default: 'lastNode',
|
||||
description: 'When and how to respond to the chat',
|
||||
displayOptions: { show: { '/mode': ['webhook'] } },
|
||||
@@ -504,7 +504,7 @@ export class ChatTrigger extends Node {
|
||||
displayName: 'Response Mode',
|
||||
name: 'responseMode',
|
||||
type: 'options',
|
||||
options: [lastNodeResponseMode, respondNodesResponseMode],
|
||||
options: [lastNodeResponseMode, streamingResponseMode, respondNodesResponseMode],
|
||||
default: 'lastNode',
|
||||
description: 'When and how to respond to the webhook',
|
||||
displayOptions: { show: { '/mode': ['hostedChat'] } },
|
||||
|
||||
Reference in New Issue
Block a user