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
"use client"import { useState } from "react"import { ModelPicker } from "@/components/assistant-ui/elements/model-picker"const models = [ { id: "gpt-4o", name: "GPT-4o", family: "OpenAI", context: "128K", price: "$2.50/M", capabilities: ["vision", "tools"] }, { id: "gpt-4o-mini", name: "GPT-4o mini", family: "OpenAI", context: "128K", price: "$0.15/M", capabilities: ["vision", "tools"] }, { id: "claude-3-5-sonnet", name: "Claude 3.5 Sonnet", family: "Anthropic", context: "200K", price: "$3.00/M", capabilities: ["vision", "tools"] }, { id: "claude-3-haiku", name: "Claude 3 Haiku", family: "Anthropic", context: "200K", price: "$0.25/M", capabilities: ["tools"] },]export default function ModelPickerDemo() { const [selectedId, setSelectedId] = useState("gpt-4o") return ( <ModelPicker models={models} selectedId={selectedId} onSelect={setSelectedId} /> )}