diff --git a/web/src/api/buster_rest/chats/queryRequests.ts b/web/src/api/buster_rest/chats/queryRequests.ts index e59b00762..68ee9286d 100644 --- a/web/src/api/buster_rest/chats/queryRequests.ts +++ b/web/src/api/buster_rest/chats/queryRequests.ts @@ -81,12 +81,6 @@ export const useGetChat = ( }); }); - useQuery({ - ...queryKeys.chatsGetChat(params.id), - queryFn, - enabled: !!params.id - }); - return useQuery({ ...queryKeys.chatsGetChat(params.id), enabled: !!params.id, diff --git a/web/src/components/ui/typography/Text.tsx b/web/src/components/ui/typography/Text.tsx index 854da476e..9fd0b6e66 100644 --- a/web/src/components/ui/typography/Text.tsx +++ b/web/src/components/ui/typography/Text.tsx @@ -3,7 +3,7 @@ import { cva, VariantProps } from 'class-variance-authority'; import React from 'react'; import { textColorVariants } from './variants'; -const textVariants = cva('', { +const textVariants = cva('leading-1.3', { variants: { size: { '3xs': 'text-3xs', diff --git a/web/src/layouts/ChatLayout/ChatContext/useAutoChangeLayout.ts b/web/src/layouts/ChatLayout/ChatContext/useAutoChangeLayout.ts index 314d71047..436c4eb1e 100644 --- a/web/src/layouts/ChatLayout/ChatContext/useAutoChangeLayout.ts +++ b/web/src/layouts/ChatLayout/ChatContext/useAutoChangeLayout.ts @@ -27,6 +27,7 @@ export const useAutoChangeLayout = ({ //change the page to reasoning file if we get a reasoning message useEffect(() => { + console.log(isCompletedStream, hasReasoning, lastMessageId, previousLastMessageId.current); if (!isCompletedStream && hasReasoning && previousLastMessageId.current !== lastMessageId) { // hasSeeningReasoningPage.current = true; onSetSelectedFile({ id: lastMessageId, type: 'reasoning' });