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 { ContextMeter } from "@/components/ui/context-meter"export default function ContextMeterDemo() { return ( <div className="flex w-full max-w-sm items-center justify-between gap-4 rounded-xl border p-4"> <div className="flex flex-col gap-0.5"> <span className="text-sm font-medium">Support thread</span> <span className="text-xs text-muted-foreground">Draft reply in progress</span> </div> <ContextMeter segments={[ { id: "system", label: "System", tokens: 1200 }, { id: "messages", label: "Messages", tokens: 68400 }, { id: "files", label: "Files", tokens: 24000 }, { id: "tools", label: "Tools", tokens: 3800 }, ]} limit={200000} /> </div> )}