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 { AiMessages } from "@/components/elements/ai-messages"export default function MessagesDemo() { return ( <div className="h-[400px] w-full max-w-md overflow-hidden rounded-lg border"> <AiMessages> <div className="flex justify-end"> <div className="max-w-[80%] rounded-lg bg-primary px-3 py-2 text-sm text-primary-foreground"> Can you summarize my last order? </div> </div> <div className="flex justify-start"> <div className="max-w-[80%] rounded-lg bg-muted px-3 py-2 text-sm"> Sure. Order #1042 shipped yesterday and arrives on Friday. </div> </div> <div className="flex justify-end"> <div className="max-w-[80%] rounded-lg bg-primary px-3 py-2 text-sm text-primary-foreground"> Can I change the delivery address? </div> </div> <div className="flex justify-start"> <div className="max-w-[80%] rounded-lg bg-muted px-3 py-2 text-sm"> Yes, until it leaves the warehouse tonight. Want me to update it? </div> </div> </AiMessages> </div> )}