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 { MessageScroller } from "@/components/agents/message-scroller"const messages = [ { from: "user", text: "How do I reset my password?" }, { from: "assistant", text: "Open Settings, choose Security, then select Reset password. We will email you a link that expires in 30 minutes." }, { from: "user", text: "Got it, thanks. Can I reuse my old password?" }, { from: "assistant", text: "No. New passwords must differ from your last five." },]export default function MessageScrollerDemo() { return ( <MessageScroller className="h-72 w-full max-w-md" busy={false}> <div className="flex flex-col gap-3 p-4"> {messages.map((message, index) => ( <div key={index} data-slot="message" data-from={message.from} className={ message.from === "user" ? "ml-auto max-w-[80%] rounded-lg bg-primary px-3 py-2 text-sm text-primary-foreground" : "max-w-[80%] rounded-lg bg-muted px-3 py-2 text-sm" } > {message.text} </div> ))} </div> </MessageScroller> )}