auto change lyaout logs

This commit is contained in:
Nate Kelley 2025-03-22 22:53:47 -06:00
parent 51e863e9c1
commit 20c41c7a6e
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
3 changed files with 2 additions and 7 deletions

View File

@ -81,12 +81,6 @@ export const useGetChat = <TData = IBusterChat>(
});
});
useQuery({
...queryKeys.chatsGetChat(params.id),
queryFn,
enabled: !!params.id
});
return useQuery({
...queryKeys.chatsGetChat(params.id),
enabled: !!params.id,

View File

@ -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',

View File

@ -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' });