mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: 开启内容生成会爆token的问题
This commit is contained in:
parent
d88550db39
commit
758aeb67a2
4 changed files with 25 additions and 16 deletions
|
|
@ -276,6 +276,7 @@ export class ChatgptManagement extends plugin {
|
|||
}
|
||||
await this.reply(roleList)
|
||||
}
|
||||
|
||||
async ttsSwitch (e) {
|
||||
let userReplySetting = await redis.get(`CHATGPT:USER:${e.sender.user_id}`)
|
||||
userReplySetting = !userReplySetting
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue