mirror of https://github.com/buster-so/buster.git
Update useAutoChangeLayout.ts
This commit is contained in:
parent
a565b0aaff
commit
fd044dd2b2
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue