mirror of
https://git.mirrors.martin98.com/https://github.com/bytedance/deer-flow
synced 2025-08-20 12:39:15 +08:00
feat: remove animation
This commit is contained in:
parent
4d7165d51c
commit
3e55b9dd21
@ -165,11 +165,7 @@ function MessageListItem({
|
|||||||
>
|
>
|
||||||
<MessageBubble message={message}>
|
<MessageBubble message={message}>
|
||||||
<div className="flex w-full flex-col">
|
<div className="flex w-full flex-col">
|
||||||
<Markdown
|
<Markdown>{message?.content}</Markdown>
|
||||||
animate={message.role !== "user" && message.isStreaming}
|
|
||||||
>
|
|
||||||
{message?.content}
|
|
||||||
</Markdown>
|
|
||||||
</div>
|
</div>
|
||||||
</MessageBubble>
|
</MessageBubble>
|
||||||
</div>
|
</div>
|
||||||
@ -210,7 +206,7 @@ function MessageListItem({
|
|||||||
className={cn(
|
className={cn(
|
||||||
`flex w-fit max-w-[85%] flex-col rounded-2xl px-4 py-3 shadow`,
|
`flex w-fit max-w-[85%] flex-col rounded-2xl px-4 py-3 shadow`,
|
||||||
message.role === "user" &&
|
message.role === "user" &&
|
||||||
"text-primary-foreground bg-brand rounded-ee-none",
|
"text-primary-foreground bg-brand rounded-ee-none",
|
||||||
message.role === "assistant" && "bg-card rounded-es-none",
|
message.role === "assistant" && "bg-card rounded-es-none",
|
||||||
className,
|
className,
|
||||||
)}
|
)}
|
||||||
@ -319,10 +315,11 @@ function PlanCard({
|
|||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle>
|
<CardTitle>
|
||||||
<Markdown animate>
|
<Markdown animate>
|
||||||
{`### ${plan.title !== undefined && plan.title !== ""
|
{`### ${
|
||||||
? plan.title
|
plan.title !== undefined && plan.title !== ""
|
||||||
: "Deep Research"
|
? plan.title
|
||||||
}`}
|
: "Deep Research"
|
||||||
|
}`}
|
||||||
</Markdown>
|
</Markdown>
|
||||||
</CardTitle>
|
</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user