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 { StreamingText } from "@/components/spectrumui/blocks/ai-assistants/streaming-text"import type { Citation, SuggestedPrompt } from "@/components/spectrumui/blocks/ai-assistants/types"const citations: Citation[] = [ { id: "c1", index: 1, url: "docs://server-components", title: "Server Components" }, { id: "c2", index: 2, url: "docs://client-components", title: "Client Components" },]const followUps: SuggestedPrompt[] = [ { id: "f1", label: "How do I fetch data in a server component?" }, { id: "f2", label: "When should I add 'use client'?" },]export default function StreamingTextDemo() { return ( <StreamingText text="Use **server components** by default [1]. Add client components only when you need state or browser APIs [2]." citations={citations} followUps={followUps} variant="Sources" /> )}