From 8b0c1284a66b63ed4ecc690676c27a87feb65764 Mon Sep 17 00:00:00 2001 From: Twilight Date: Fri, 13 Sep 2024 11:15:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=20=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E7=BB=84=E4=BB=B6=E5=92=8C=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components.d.ts | 3 +- src/components/LeftSettings.vue | 19 +++++++++- src/components/assistants/index.vue | 6 +++ src/components/chat/Chat.vue | 57 +++++++++++++++++++++++++++-- src/components/chat/MessageList.vue | 38 ++++++++++++++----- src/components/chat/chat.vue | 57 +++++++++++++++++++++++++++-- src/config/config.ts | 2 +- src/config/element.ts | 3 ++ src/layouts/DefaultLayout.vue | 24 ++++++++++-- src/layouts/Header.vue | 47 ++++++++++++------------ 10 files changed, 210 insertions(+), 46 deletions(-) create mode 100644 src/components/assistants/index.vue create mode 100644 src/config/element.ts diff --git a/src/components.d.ts b/src/components.d.ts index 0efb334..eabb7e0 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -8,7 +8,8 @@ export {} declare module 'vue' { export interface GlobalComponents { AssistantMenu: typeof import('./components/AssistantMenu.vue')['default'] - Chat: typeof import('./components/chat/chat.vue')['default'] + Assistants: typeof import('./components/assistants/index.vue')['default'] + Chat: typeof import('./components/chat/Chat.vue')['default'] ChatMenu: typeof import('./components/ChatMenu.vue')['default'] Container: typeof import('./components/Container.vue')['default'] LeftSettings: typeof import('./components/LeftSettings.vue')['default'] diff --git a/src/components/LeftSettings.vue b/src/components/LeftSettings.vue index 00d813a..acc9aa1 100644 --- a/src/components/LeftSettings.vue +++ b/src/components/LeftSettings.vue @@ -43,13 +43,30 @@ + + + “威尔!着火了!快来帮忙!”我听到女朋友大喊。现在一个难题在我面前——是恢复一个重要的 Amazon 服务,还是救公寓的火。

我的脑海中忽然出现了 Amazon 著名的领导力准则”客户至上“,有很多的客户还依赖我们的服务,我不能让他们失望!所以着火也不管了,女朋友喊我也无所谓,我开始 debug 这个线上问题。
- + + “威尔!着火了!快来帮忙!”我听到女朋友大喊。现在一个难题在我面前——是恢复一个重要的 + Amazon 服务,还是救公寓的火。

+ 我的脑海中忽然出现了 Amazon + 著名的领导力准则”客户至上“,有很多的客户还依赖我们的服务,我不能让他们失望!所以着火也不管了,女朋友喊我也无所谓,我开始 + debug 这个线上问题。 +
+ + “威尔!着火了!快来帮忙!”我听到女朋友大喊。现在一个难题在我面前——是恢复一个重要的 + Amazon 服务,还是救公寓的火。

+ 我的脑海中忽然出现了 Amazon + 著名的领导力准则”客户至上“,有很多的客户还依赖我们的服务,我不能让他们失望!所以着火也不管了,女朋友喊我也无所谓,我开始 + debug 这个线上问题。 +
+ “威尔!着火了!快来帮忙!”我听到女朋友大喊。现在一个难题在我面前——是恢复一个重要的 Amazon 服务,还是救公寓的火。

我的脑海中忽然出现了 Amazon diff --git a/src/components/assistants/index.vue b/src/components/assistants/index.vue new file mode 100644 index 0000000..71ee698 --- /dev/null +++ b/src/components/assistants/index.vue @@ -0,0 +1,6 @@ + + + \ No newline at end of file diff --git a/src/components/chat/Chat.vue b/src/components/chat/Chat.vue index 42be930..5241944 100644 --- a/src/components/chat/Chat.vue +++ b/src/components/chat/Chat.vue @@ -20,7 +20,10 @@ -
+
+ + AI 也有可能犯错误,请在使用之前核查信息。 +