🐛 (dify) Fix issue when receiving "event" chunk
This commit is contained in:
@ -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
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user