mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: filter empty
This commit is contained in:
parent
314c60d0ae
commit
cce3f2c28c
1 changed files with 1 additions and 1 deletions
|
|
@ -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() === '```') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue