diff --git a/web/src/layouts/ChatLayout/ChatContext/useAutoChangeLayout.ts b/web/src/layouts/ChatLayout/ChatContext/useAutoChangeLayout.ts index b3229c794..10dbe2eca 100644 --- a/web/src/layouts/ChatLayout/ChatContext/useAutoChangeLayout.ts +++ b/web/src/layouts/ChatLayout/ChatContext/useAutoChangeLayout.ts @@ -19,6 +19,8 @@ export const useAutoChangeLayout = ({ const hasReasoning = !!reasoningMessagesLength; const previousIsEmpty = previousReasoningMessagesLength === 0; + console.log(isLoading, previousIsEmpty, hasReasoning, message); + //change the page to reasoning file if we get a reasoning message useEffect(() => { if (isLoading && previousIsEmpty && hasReasoning) {