import { Button } from "@douyinfe/semi-ui-19"; import type { ToolCardProps } from "../ai/types"; export function ResearchToolCard({ call, onAction }: ToolCardProps) { const result = call.result || {}; return (

{typeof result.name === "string" ? result.name : "研究资料"} {typeof result.version === "number" ? ` · v${result.version}` : ""}

{typeof result.id === "string" && !result.report && ( )}
查看资料与校验依据
{JSON.stringify(result, null, 2)}
); }