From f88efbbbde2334b6cb5c879142026aed06d70163 Mon Sep 17 00:00:00 2001 From: Algorithm5838 <108630393+Algorithm5838@users.noreply.github.com> Date: Tue, 26 Sep 2023 20:45:09 +0300 Subject: [PATCH 1/2] Update chat.tsx --- app/components/chat.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 4e6aedecc60c..005ee46e95c1 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -1155,7 +1155,13 @@ function _Chat() { {isUser ? ( ) : ( - + <> + {["system", "context"].includes(message.role) ? ( + + ) : ( + + )} + )} From 6efd64be38190625db8425f947ac6817138b2442 Mon Sep 17 00:00:00 2001 From: Algorithm5838 <108630393+Algorithm5838@users.noreply.github.com> Date: Tue, 26 Sep 2023 21:49:17 +0300 Subject: [PATCH 2/2] Update chat.tsx --- app/components/chat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 005ee46e95c1..cca096eb874b 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -1156,7 +1156,7 @@ function _Chat() { ) : ( <> - {["system", "context"].includes(message.role) ? ( + {["system"].includes(message.role) ? ( ) : (