From 8a3e8f010a05b29a4fda590f79a5c37ab0e8a547 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Sun, 9 Jul 2023 10:59:55 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(chatModal):=20update=20upd?= =?UTF-8?q?ateLastMessage=20function=20to=20include=20thought=20property?= =?UTF-8?q?=20in=20the=20message=20object=20=F0=9F=94=A7=20chore(chatModal?= =?UTF-8?q?):=20update=20updateLastMessage=20function=20to=20include=20tho?= =?UTF-8?q?ught=20property=20in=20the=20message=20object=20for=20stream=20?= =?UTF-8?q?type=20messages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/src/modals/chatModal/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/frontend/src/modals/chatModal/index.tsx b/src/frontend/src/modals/chatModal/index.tsx index 0d783b36e..581ea22e2 100644 --- a/src/frontend/src/modals/chatModal/index.tsx +++ b/src/frontend/src/modals/chatModal/index.tsx @@ -184,7 +184,10 @@ export default function ChatModal({ isStream = false; } if (data.type === "stream" && isStream) { - updateLastMessage({ str: data.message }); + updateLastMessage({ + str: data.message, + thought: data.intermediate_steps, + }); } }