2
0

🐛 (dify) Fix issue when receiving "event" chunk

This commit is contained in:
Baptiste Arnaud
2024-02-19 09:49:15 +01:00
parent f3adaa3b28
commit 6735eccb50

View File

@ -103,6 +103,7 @@ export const createChatMessage = createAction({
conversationId = data.conversation_id conversationId = data.conversation_id
} }
} catch (error) { } catch (error) {
if (line.includes('event: ')) return
jsonChunk += line jsonChunk += line
} }
}) })