From 117293cc18515127f94c3a98a8abf282925b6913 Mon Sep 17 00:00:00 2001 From: ikechan8370 Date: Tue, 21 Mar 2023 23:57:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20bing=E8=87=AA=E5=AE=9A=E4=B9=89=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E7=BB=93=E6=9D=9F=E5=AF=B9=E8=AF=9D=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/chat.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/chat.js b/apps/chat.js index 8ccf6db..9303b75 100644 --- a/apps/chat.js +++ b/apps/chat.js @@ -208,7 +208,7 @@ export class chatgpt extends plugin { } else if (use === 'bing' && (Config.toneStyle === 'Sydney' || Config.toneStyle === 'Custom')) { const conversation = { store: new KeyvFile({ filename: 'cache.json' }), - namespace: 'Sydney' + namespace: Config.toneStyle } let Keyv try { @@ -262,7 +262,7 @@ export class chatgpt extends plugin { } else if (use === 'bing' && (Config.toneStyle === 'Sydney' || Config.toneStyle === 'Custom')) { const conversation = { store: new KeyvFile({ filename: 'cache.json' }), - namespace: 'Sydney' + namespace: Config.toneStyle } let Keyv try {