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 { Thread } from "@/components/assistant-ui/elements/thread.aui"const adapter: ChatModelAdapter = { async run() { return { content: [{ type: "text", text: "Thanks for your message. How else can I help?" }], } },}function ThreadWithRuntime() { const runtime = useLocalRuntime(adapter) return ( <AssistantRuntimeProvider runtime={runtime}> <Thread /> </AssistantRuntimeProvider> )}export default function ThreadDemo() { return ( <div className="h-[430px] w-full max-w-2xl"> <ThreadWithRuntime /> </div> )}