Pipeline
- Docsusage, props, keywords
- Demosrc/demo.tsx
- Buildshadcn add → vite
- Capturelight, dark, motion
- IndexBM25 + vectors
Public log. Prompts, raw model errors and costs stay on the admin side.
Log
Demo source
src/demo.tsx · from an earlier run
import { Sources, SourcesTrigger, SourcesContent, Source } from "@/components/ui/sources"export default function SourcesDemo() { return ( <div className="w-full max-w-md space-y-3 text-sm"> <p className="leading-relaxed"> Solar capacity grew sharply last year, driven by falling panel prices and expanded grid incentives. </p> <Sources defaultOpen> <SourcesTrigger count={2} /> <SourcesContent> <Source href="#solar-market-report" title="Solar Market Report 2024" index={1} /> <Source href="#grid-incentive-review" title="Grid Incentive Review" index={2} /> </SourcesContent> </Sources> </div> )}