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, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport } from "@/components/ui/message-scroller"const messages = [ { role: "user", text: "Can you summarize the release notes?" }, { role: "assistant", text: "Sure. Version 2.4 adds offline sync, faster search, and a new dark theme." }, { role: "user", text: "Which change affects billing?" }, { role: "assistant", text: "None of the changes touch billing. Invoices will look exactly the same." }, { role: "user", text: "Great, thanks!" }, { role: "assistant", text: "You're welcome. Let me know if you want the full changelog." },]export default function MessageScrollerDemo() { return ( <MessageScrollerProvider> <MessageScroller className="h-80 w-full max-w-md rounded-lg border"> <MessageScrollerViewport className="p-4"> <MessageScrollerContent> {messages.map((message, index) => ( <MessageScrollerItem key={index}> <div className={`max-w-[80%] rounded-lg px-3 py-2 text-sm ${ message.role === "user" ? "ml-auto bg-primary text-primary-foreground" : "bg-muted" }`} > {message.text} </div> </MessageScrollerItem> ))} </MessageScrollerContent> </MessageScrollerViewport> <MessageScrollerButton /> </MessageScroller> </MessageScrollerProvider> )}