From afc9c96d026e2284d0681fb1b482ed48d0f57e75 Mon Sep 17 00:00:00 2001 From: Vinlic Date: Mon, 6 May 2024 09:46:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E9=9D=9E=E6=B5=81=E5=BC=8F?= =?UTF-8?q?=E8=AF=B7=E6=B1=82=E4=B8=AD=E7=9A=84=E6=9D=A5=E6=BA=90=E6=A0=87?= =?UTF-8?q?=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/controllers/chat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/controllers/chat.ts b/src/api/controllers/chat.ts index c95ef09..dbefe68 100644 --- a/src/api/controllers/chat.ts +++ b/src/api/controllers/chat.ts @@ -839,7 +839,7 @@ async function receiveStream(stream: any): Promise { data.choices[0].message.content += chunk; } else { data.choices[0].message.content = - data.choices[0].message.content.replace(/【\d+†source】/g, ""); + data.choices[0].message.content.replace(/【\d+†来源】/g, ""); resolve(data); } } catch (err) {