@@ -4,6 +4,7 @@ import type { ChatRequestOptions, Message } from 'ai';
44import cx from 'classnames' ;
55import equal from 'fast-deep-equal' ;
66import { AnimatePresence , motion } from 'framer-motion' ;
7+ import Image from 'next/image' ;
78import { memo , useState } from 'react' ;
89
910import { useThinkingText } from '@/hooks/use-thinking-text' ;
@@ -12,7 +13,6 @@ import { cn } from '@/lib/utils';
1213
1314import { DocumentToolCall , DocumentToolResult } from './document' ;
1415import { DocumentPreview } from './document-preview' ;
15- import { SparklesIcon } from './icons' ;
1616import { Markdown } from './markdown' ;
1717import { MessageEditor } from './message-editor' ;
1818import { MessageReasoning } from './message-reasoning' ;
@@ -62,7 +62,14 @@ const PurePreviewMessage = ({
6262 { message . role === 'assistant' && (
6363 < div className = "size-8 flex items-center rounded-full justify-center ring-1 shrink-0 ring-border bg-background" >
6464 < div className = "translate-y-px" >
65- < SparklesIcon size = { 14 } />
65+ < span className = "p-4 rounded-md cursor-pointer relative w-1/2 h-[24px]" >
66+ < Image
67+ src = "/images/logo-white.svg"
68+ alt = "Pattern"
69+ fill
70+ className = "p-2"
71+ />
72+ </ span >
6673 </ div >
6774 </ div >
6875 ) }
@@ -225,7 +232,14 @@ export const ThinkingMessage = () => {
225232 ) }
226233 >
227234 < div className = "size-8 flex items-center rounded-full justify-center ring-1 shrink-0 ring-border" >
228- < SparklesIcon size = { 14 } />
235+ < span className = "p-4 rounded-md cursor-pointer relative w-1/2 h-[24px]" >
236+ < Image
237+ src = "/images/logo-white.svg"
238+ alt = "Pattern"
239+ fill
240+ className = "p-2"
241+ />
242+ </ span >
229243 </ div >
230244
231245 < div className = "flex flex-col justify-center gap-2 w-full" >
0 commit comments