From 82af06a2daf9c19b73da2e8d1279e14b9a5279e5 Mon Sep 17 00:00:00 2001 From: zyc404 Date: Wed, 25 Oct 2023 22:39:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D=E6=98=9F=E7=81=ABv3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/xinghuo/xinghuo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/xinghuo/xinghuo.js b/utils/xinghuo/xinghuo.js index 35a11c3..d5a8a91 100644 --- a/utils/xinghuo/xinghuo.js +++ b/utils/xinghuo/xinghuo.js @@ -380,7 +380,7 @@ export default class XinghuoClient { let chatId = option?.chatId let image = option?.image - if (Config.xhmode == 'api' || Config.xhmode == 'apiv2' || Config.xhmode == 'assistants') { + if (Config.xhmode == 'api' || Config.xhmode == 'apiv2' || Config.xhmode == 'apiv3' || Config.xhmode == 'assistants') { if (!Config.xhAppId || !Config.xhAPISecret || !Config.xhAPIKey) throw new Error('未配置api') let Prompt = [] // 设定