From 7289ae6f35270fe126a6721a9988c22ce3c05147 Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Mon, 30 Oct 2023 17:00:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=E9=A6=96=E6=AC=A1?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E6=8F=92=E4=BB=B6bing=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=8B=E9=AA=8C=E8=AF=81=E7=A0=81=E8=AF=B7=E6=B1=82=E8=A2=AB?= =?UTF-8?q?=E9=98=BB=E6=8B=A6=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/chat.js b/apps/chat.js index b7c635f..875402c 100644 --- a/apps/chat.js +++ b/apps/chat.js @@ -1788,7 +1788,7 @@ export class chatgpt extends plugin { const { maxConv } = error if (message && typeof message === 'string' && message.indexOf('CaptchaChallenge') > -1) { if (bingToken) { - if (maxConv > 20) { + if (maxConv >= 20) { // maxConv为30说明token有效,可以通过解验证码码服务过码 await e.reply('出现必应验证码,尝试解决中') try {