fix: filter empty

This commit is contained in:
ikechan8370 2025-01-02 20:56:20 +08:00
parent 314c60d0ae
commit cce3f2c28c

View file

@ -175,7 +175,7 @@ export class bym extends plugin {
* @param msg * @param msg
*/ */
function filterResponseChunk (msg) { function filterResponseChunk (msg) {
if (!msg) { if (!msg || typeof msg !== 'string') {
return false return false
} }
if (msg.trim() === '```') { if (msg.trim() === '```') {