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 { AiSources, AiSourcesTrigger, AiSourcesContent } from "@/components/elements/ai-sources"const sources = [ { url: "/docs/installation", title: "Installation", snippet: "Add the component to your project with a single command.", }, { url: "/docs/theming", title: "Theming", snippet: "Customize colors and radius with CSS variables.", }, { url: "/docs/components", title: "Components", snippet: "Browse accessible, copy-pasteable building blocks.", },]export default function SourcesDemo() { return ( <AiSources sources={sources} defaultOpen className="w-full max-w-md"> <AiSourcesTrigger /> <AiSourcesContent /> </AiSources> )}