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 { AIBranch, AIBranchMessages, AIBranchNext, AIBranchPage, AIBranchPrevious, AIBranchSelector } from "@/components/smoothui/ai-branch/index"export default function AIBranchDemo() { return ( <AIBranch defaultBranch={0} className="w-full max-w-md"> <AIBranchMessages> <div className="max-w-[80%] rounded-2xl rounded-bl-md bg-muted px-3.5 py-2.5 text-sm leading-relaxed"> Lead with the problem your customer faces, then show how the product solves it. </div> <div className="max-w-[80%] rounded-2xl rounded-bl-md bg-muted px-3.5 py-2.5 text-sm leading-relaxed"> Open with a short story about a customer who saved time, then list the three main benefits. </div> <div className="max-w-[80%] rounded-2xl rounded-bl-md bg-muted px-3.5 py-2.5 text-sm leading-relaxed"> Keep it to one sentence: faster setup, fewer errors, and clear reporting. </div> </AIBranchMessages> <AIBranchSelector from="assistant"> <AIBranchPrevious /> <AIBranchPage /> <AIBranchNext /> </AIBranchSelector> </AIBranch> )}