mirror of https://github.com/buster-so/buster.git
auto change lyaout logs
This commit is contained in:
parent
51e863e9c1
commit
20c41c7a6e
|
@ -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,
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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' });
|
||||
|
|
Loading…
Reference in New Issue