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 { AssistantRuntimeProvider, useLocalRuntime, type ChatModelAdapter } from "@assistant-ui/react"import { ThreadList } from "@/components/assistant-ui/elements/thread-list.aui"const adapter: ChatModelAdapter = { async run() { return { content: [{ type: "text", text: "Hello!" }] } },}export default function ThreadListDemo() { const runtime = useLocalRuntime(adapter) return ( <AssistantRuntimeProvider runtime={runtime}> <div className="w-full max-w-xs"> <ThreadList /> </div> </AssistantRuntimeProvider> )}