From fb5fc13f720da18ee808d493f7198bcae5259d79 Mon Sep 17 00:00:00 2001 From: DDMeaqua Date: Tue, 13 Aug 2024 19:58:44 +0800 Subject: [PATCH] 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 e7619e92b89..3b5c143b9d9 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 52befde13bb..ed5b06799c3 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -1524,6 +1524,11 @@ function _Chat() { )} + {!isUser && ( +
+ {message.model} +
+ )} {showActions && (