Commit baaca2c8 authored by 金伟强's avatar 金伟强

fix: not async log thought

parent e828217c
......@@ -196,6 +196,9 @@ const Answer: FC<IAnswerProps> = ({ item, feedbackDisabled = false, isHideFeedba
<div className='text-xs text-gray-500'>{t('appDebug.openingStatement.title')}</div>
</div>
)}
{(thoughts && thoughts.length > 0) && (
<Thought list={thoughts || []} isThinking={isThinking} />
)}
{(isResponsing && !content)
? (
<div className='flex items-center justify-center w-6 h-5'>
......@@ -204,9 +207,6 @@ const Answer: FC<IAnswerProps> = ({ item, feedbackDisabled = false, isHideFeedba
)
: (
<div>
{(thoughts && thoughts.length > 0) && (
<Thought list={thoughts || []} isThinking={isThinking} />
)}
<Markdown content={content} />
</div>
)}
......
......@@ -518,7 +518,6 @@ const Main: FC<IMainProps> = () => {
draft.push({ ...questionItem })
draft.push({ ...responseItem })
})
// console.log('start render thought')
setChatList(newListWithAnswer)
},
onError() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment