mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
Merge branch 'v2' of github.com:ikechan8370/chatgpt-plugin into v2
This commit is contained in:
commit
9ae8d1cec6
2 changed files with 1 additions and 5 deletions
|
|
@ -256,10 +256,6 @@ OpenAI 即将开放其官方ChatGPT API,且微软必应也公开发布了基
|
|||
* https://github.com/waylaidwanderer/node-chatgpt-api
|
||||
* https://chat.openai.com/
|
||||
|
||||
## 由于issue实在较多且大多重复,建了个QQ群,欢迎各位小白大佬来玩
|
||||
|
||||

|
||||
|
||||
## 贡献者
|
||||
|
||||
<a href="https://github.com/ikechan8370/chatgpt-plugin/graphs/contributors">
|
||||
|
|
|
|||
|
|
@ -279,7 +279,7 @@ export class chatgpt extends plugin {
|
|||
// 队列队尾插入,开始排队
|
||||
await redis.rPush('CHATGPT:CHAT_QUEUE', [randomId])
|
||||
let confirm = await redis.get('CHATGPT:CONFIRM')
|
||||
let confirmOn = confirm === 'on'
|
||||
let confirmOn = !confirm || confirm === 'on'
|
||||
if (await redis.lIndex('CHATGPT:CHAT_QUEUE', 0) === randomId) {
|
||||
if (confirmOn) {
|
||||
await this.reply('我正在思考如何回复你,请稍等', true, { recallMsg: 8 })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue