mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
feat: Update Chat SDK to support streaming responses (#17006)
Co-authored-by: Eugene Molodkin <eugene@n8n.io>
This commit is contained in:
@@ -1720,7 +1720,16 @@ export class WorkflowExecute {
|
||||
|
||||
// Send error to the response if necessary
|
||||
await hooks?.runHook('sendChunk', [
|
||||
{ type: 'error', content: executionError.description },
|
||||
{
|
||||
type: 'error',
|
||||
content: executionError.description,
|
||||
metadata: {
|
||||
nodeId: executionNode.id,
|
||||
nodeName: executionNode.name,
|
||||
runIndex,
|
||||
itemIndex: 0,
|
||||
},
|
||||
},
|
||||
]);
|
||||
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user