From 4413c0df36063f776b72f0a1cd451bd5df91cb9c Mon Sep 17 00:00:00 2001 From: Weves Date: Sat, 18 May 2024 00:59:59 -0700 Subject: [PATCH] Remove console.log statements --- web/src/app/chat/ChatPage.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/web/src/app/chat/ChatPage.tsx b/web/src/app/chat/ChatPage.tsx index bc8c36fe2..aeb543af4 100644 --- a/web/src/app/chat/ChatPage.tsx +++ b/web/src/app/chat/ChatPage.tsx @@ -277,8 +277,6 @@ export function ChatPage({ ); messages[0].parentMessageId = systemMessageId; } - console.log(messages); - console.log(replacementsMap); messages.forEach((message) => { const idToReplace = replacementsMap?.get(message.messageId); if (idToReplace) { @@ -308,11 +306,9 @@ export function ChatPage({ } } setCompleteMessageMap(newCompleteMessageMap); - console.log(newCompleteMessageMap); return newCompleteMessageMap; }; const messageHistory = buildLatestMessageChain(completeMessageMap); - console.log(messageHistory); const [currentTool, setCurrentTool] = useState(null); const [isStreaming, setIsStreaming] = useState(false); @@ -641,10 +637,6 @@ export function ChatPage({ [messages[1].messageId, TEMP_ASSISTANT_MESSAGE_ID], ] as [number, number][]) : null; - if (replacementsMap) { - console.log("FINISHING"); - // console.log(replacementsMap); - } upsertToCompleteMessageMap({ messages: messages, replacementsMap: replacementsMap,