From 071283c007bd10a2d532b2c62188fa264db87a5c Mon Sep 17 00:00:00 2001 From: ChenZhaoYu <790348264@qq.com> Date: Mon, 13 Feb 2023 19:25:59 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E6=B8=85=E9=99=A4=E4=B8=8A=E4=B8=8B?= =?UTF-8?q?=E6=96=87=E6=8C=89=E9=92=AE=E5=A4=B1=E6=95=88=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/business/Chat/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/business/Chat/index.vue b/src/components/business/Chat/index.vue index 0d194aa..0903a66 100644 --- a/src/components/business/Chat/index.vue +++ b/src/components/business/Chat/index.vue @@ -31,11 +31,12 @@ function initChat() { async function handleClear() { try { - const { message } = await clearConversations() - ms.success(message ?? 'Success') + await clearConversations() } catch (error) { ms.error('Clear failed, please try again later.') + } + finally { list.value = [] setTimeout(initChat, 100) } From 9b556e4833569089c9ad5c0a2954129bb1d45d0f Mon Sep 17 00:00:00 2001 From: ChenZhaoYu <790348264@qq.com> Date: Mon, 13 Feb 2023 19:30:26 +0800 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=E5=AF=B9?= =?UTF-8?q?=E4=BA=8E=E6=A8=A1=E5=9E=8B=E7=9A=84=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 4ef6d84..d57fad4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # ChatGPT Web Bot +重要提示:目前 `OpenAI` 开放的模型最高只有 `GPT-3`,和现在网页所使用的 `GPT-3.5` 或 `GPT-4` 是有很大差距的,需要等官方开放最新的模型接口。 + 使用 express 和 vue3 搭建的 ChartGPT 演示网页 ![cover](./docs/cover-2.png)