feat: workflow executor (#7159)

fix AFF-1221 AFF-1232
This commit is contained in:
darkskygit
2024-06-25 08:40:47 +00:00
parent 45b3b833d4
commit fe89ecb1d3
16 changed files with 573 additions and 201 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ test('should be able to chat with api by workflow', async t => {
const ret = await chatWithWorkflow(app, token, sessionId, messageId);
t.is(
ret,
textToEventStream('generate text to text stream', messageId),
textToEventStream(['generate text to text stream'], messageId),
'should be able to chat with workflow'
);
});