From 6a61fe57763e96e3725566543d2f1fc5222ce69e 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 4e6aedecc60..005ee46e95c 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -1155,7 +1155,13 @@ function _Chat() { {isUser ? ( ) : ( - + <> + {["system", "context"].includes(message.role) ? ( + + ) : ( + + )} + )} From 398e229c7760c71419d0d851323b253e3edea79b 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 005ee46e95c..cca096eb874 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) ? ( ) : (