feat: adapt workflow for ppt & minimap (#7464)

This commit is contained in:
darkskygit
2024-07-10 10:13:17 +00:00
parent 22187f964a
commit 0739e10683
10 changed files with 227 additions and 27 deletions
+1 -1
View File
@@ -379,7 +379,7 @@ test('should be able to chat with api by workflow', async t => {
const ret = await chatWithWorkflow(app, token, sessionId, messageId);
t.is(
array2sse(sse2array(ret).filter(e => e.event !== 'event')),
textToEventStream('generate text to text stream', messageId),
textToEventStream(['generate text to text stream'], messageId),
'should be able to chat with workflow'
);
});