feat: merge the last thinking with the previous group

This commit is contained in:
Henry Li
2026-01-17 16:10:58 +08:00
parent be1e016ed4
commit 1a3b70ac43
2 changed files with 15 additions and 22 deletions

View File

@@ -70,13 +70,6 @@ function MessageContent_({
const rehypePlugins = useRehypeSplitWordsIntoSpans(isLoading);
return (
<AIElementMessageContent className={className}>
{hasReasoning(message) && (
<MessageGroup
className="mb-2"
messages={[message]}
isLoading={isLoading}
/>
)}
<AIElementMessageResponse rehypePlugins={rehypePlugins}>
{extractContentFromMessage(message)}
</AIElementMessageResponse>