From fb5fc13f720da18ee808d493f7198bcae5259d79 Mon Sep 17 00:00:00 2001 From: DDMeaqua Date: Tue, 13 Aug 2024 19:58:44 +0800 Subject: [PATCH 1/2] feat: add model name --- app/components/chat.module.scss | 6 ++++++ app/components/chat.tsx | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/app/components/chat.module.scss b/app/components/chat.module.scss index e7619e92b898..3b5c143b9d9d 100644 --- a/app/components/chat.module.scss +++ b/app/components/chat.module.scss @@ -346,6 +346,12 @@ flex-wrap: nowrap; } } + + .chat-model-name { + font-size: 12px; + color: var(--black); + margin-left: 6px; + } } .chat-message-container { diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 52befde13bb7..ed5b06799c36 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -1524,6 +1524,11 @@ function _Chat() { )} + {!isUser && ( +
+ {message.model} +
+ )} {showActions && (
From e2e8a45104b9d482be56a185238327f8f45dfae3 Mon Sep 17 00:00:00 2001 From: ElricLiu <20209191+ElricLiu@users.noreply.github.com> Date: Wed, 14 Aug 2024 20:38:52 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c9f195771cf8..da1adb6a5f00 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,8 @@ For enterprise inquiries, please contact: **business@nextchat.dev** - [x] Artifacts: Easily preview, copy and share generated content/webpages through a separate window [#5092](https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/5092) - [x] Plugins: support artifacts, network search, calculator, any other apis etc. [#165](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/165) - [x] artifacts - - [ ] network search, network search, calculator, any other apis etc. [#165](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/165) + - [ ] network search, calculator, any other apis etc. [#165](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/165) +- [ ] local knowledge base ## What's New @@ -128,6 +129,7 @@ For enterprise inquiries, please contact: **business@nextchat.dev** - [x] 插件机制,支持 artifacts,联网搜索、计算器、调用其他平台 api [#165](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/165) - [x] artifacts - [ ] 支持联网搜索、计算器、调用其他平台 api [#165](https://github.com/Yidadaa/ChatGPT-Next-Web/issues/165) + - [ ] 本地知识库 ## 最新动态