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
*/
function filterResponseChunk (msg) {
if (!msg) {
if (!msg || typeof msg !== 'string') {
return false
}
if (msg.trim() === '```') {