mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: adjust bym.js text filter
This commit is contained in:
parent
acb9e76b0e
commit
f7030e8427
1 changed files with 4 additions and 1 deletions
|
|
@ -47,7 +47,10 @@ export class bym extends plugin {
|
|||
let opt = {
|
||||
maxOutputTokens: 500,
|
||||
temperature: 1,
|
||||
replyPureTextCallback: e.reply
|
||||
replyPureTextCallback: msg => {
|
||||
msg = filterResponseChunk(msg)
|
||||
msg && e.reply(msg)
|
||||
}
|
||||
}
|
||||
let imgs = await getImg(e)
|
||||
if (!e.msg) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue