fix: filter empty message

This commit is contained in:
ikechan8370 2025-01-02 21:40:21 +08:00
parent 802776cfa1
commit 43faf96cfe

View file

@ -178,6 +178,9 @@ function filterResponseChunk (msg) {
if (!msg || typeof msg !== 'string') {
return false
}
if (!msg.trim()) {
return false
}
if (msg.trim() === '```') {
return false
}