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 { ModelPicker, type Model } from "@/components/ui/model-picker"const models: Model[] = [ { value: "fast", name: "Fast", description: "Quick answers for everyday chat.", capabilities: ["web"], speed: 3, cost: 1, group: "Chat" }, { value: "smart", name: "Smart", description: "Careful reasoning for harder problems.", capabilities: ["reasoning", "tools"], speed: 2, cost: 2, group: "Chat" }, { value: "pro", name: "Pro", description: "Our most capable model.", capabilities: ["vision", "long-context"], speed: 1, cost: 3, tag: "New", group: "Advanced" },]export default function ModelPickerDemo() { return ( <div className="w-full max-w-sm"> <ModelPicker models={models} defaultValue="smart" variant="secondary" size="md" /> </div> )}