mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 13:27:08 +00:00
fix: 微软更新后,第一次对话手动对话提示以避免无限循环
This commit is contained in:
parent
ae58a20cc2
commit
dce7503c41
1 changed files with 5 additions and 2 deletions
|
|
@ -761,7 +761,7 @@ export class chatgpt extends plugin {
|
|||
if (!e.raw_message || e.msg?.startsWith('#')) {
|
||||
return false
|
||||
}
|
||||
if (e.isGroup && !(e.atme || e.atBot)) {
|
||||
if ((e.isGroup || e.group_id) && !(e.atme || e.atBot)) {
|
||||
return false
|
||||
}
|
||||
if (e.user_id == getUin(e)) return false
|
||||
|
|
@ -1720,8 +1720,11 @@ export class chatgpt extends plugin {
|
|||
}
|
||||
} else {
|
||||
// 未登录用户maxConv目前为5或10,出验证码没救
|
||||
logger.warn(`token [${bingToken}] 无效或已过期`)
|
||||
logger.warn(`token [${bingToken}] 无效或已过期,如确认token无误,请前往网页版必应对话一次`)
|
||||
retry = 0
|
||||
}
|
||||
} else {
|
||||
retry = 0
|
||||
}
|
||||
} else
|
||||
if (message && typeof message === 'string' && message.indexOf('限流') > -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue