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 { PromptInput } from "@/components/agents/prompt-input"export default function PromptInputDemo() { return ( <PromptInput className="w-full max-w-lg" defaultValue="Summarize the Q3 report and draft a short email to the team." models={[ { value: "gpt-4o", label: "GPT-4o" }, { value: "claude", label: "Claude 3.5 Sonnet" }, { value: "llama", label: "Llama 3.1" }, ]} actions={[ { value: "upload", label: "Upload file", description: "Attach a document" }, { value: "web", label: "Search the web", description: "Include live results" }, ]} onSubmit={(prompt, model) => console.log(prompt, model)} /> )}