diff --git a/surfsense_web/components/citations/citation-renderer.tsx b/surfsense_web/components/citations/citation-renderer.tsx index f2de4b27d..d3d78aa39 100644 --- a/surfsense_web/components/citations/citation-renderer.tsx +++ b/surfsense_web/components/citations/citation-renderer.tsx @@ -2,6 +2,7 @@ import type { ReactNode } from "react"; import { InlineCitation, UrlCitation } from "@/components/assistant-ui/inline-citation"; +import { RunCitation } from "@/components/citations/run-citation"; import { type CitationToken, type CitationUrlMap, @@ -21,6 +22,9 @@ export function renderCitationToken(token: CitationToken, ordinalKey: number): R if (token.kind === "url") { return ; } + if (token.kind === "run") { + return ; + } return ( = ({ runId }) => { + const openRunPanel = useSetAtom(openRunCitationPanelAtom); + + return ( + + + + + View scraper run + + ); +};