mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-21 21:24:46 +08:00
feat: support artifact preview
This commit is contained in:
@@ -22,9 +22,11 @@ import { MessageListSkeleton } from "./skeleton";
|
||||
|
||||
export function MessageList({
|
||||
className,
|
||||
threadId,
|
||||
thread,
|
||||
}: {
|
||||
className?: string;
|
||||
threadId: string;
|
||||
thread: UseStream<AgentThreadState>;
|
||||
}) {
|
||||
if (thread.isThreadLoading) {
|
||||
@@ -57,7 +59,11 @@ export function MessageList({
|
||||
}
|
||||
}
|
||||
return (
|
||||
<ArtifactFileList key={groupedMessages[0].id} files={files} />
|
||||
<ArtifactFileList
|
||||
key={groupedMessages[0].id}
|
||||
files={files}
|
||||
threadId={threadId}
|
||||
/>
|
||||
);
|
||||
}
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user