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
cce3f2c28c
commit
75cf2e3523
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ export class bym extends plugin {
|
|||
}
|
||||
let finalMsg = await convertFaces(t, true, e)
|
||||
logger.info(JSON.stringify(finalMsg))
|
||||
finalMsg = filterResponseChunk(finalMsg)
|
||||
finalMsg = finalMsg.map(filterResponseChunk)
|
||||
if (finalMsg) {
|
||||
if (Math.floor(Math.random() * 100) < 10) {
|
||||
await this.reply(finalMsg, true, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue