feat: refactor crawler trust link style (#166)

* feat: refactor crawler trust link style

* feat: enhance link credibility checks in Markdown and related components
This commit is contained in:
Leo Hui
2025-05-15 17:17:10 +08:00
committed by GitHub
parent 8802eea0ba
commit a43db94fb6
5 changed files with 53 additions and 35 deletions

View File

@@ -75,7 +75,9 @@ function ActivityMessage({ messageId }: { messageId: string }) {
if (message.agent !== "reporter" && message.agent !== "planner") {
return (
<div className="px-4 py-2">
<Markdown animated>{message.content}</Markdown>
<Markdown animated checkLinkCredibility>
{message.content}
</Markdown>
</div>
);
}

View File

@@ -64,7 +64,9 @@ export function ResearchReportBlock({
/>
) : (
<>
<Markdown animated>{message?.content}</Markdown>
<Markdown animated checkLinkCredibility>
{message?.content}
</Markdown>
{message?.isStreaming && <LoadingAnimation className="my-12" />}
</>
)}