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, ThreadPrimitive, useLocalRuntime, type ChatModelAdapter } from "@assistant-ui/react"import { ThreadFollowupSuggestions } from "@/components/assistant-ui/elements/follow-up-suggestions.aui"const adapter: ChatModelAdapter = { async *run() { yield { content: [{ type: "text", text: "Here is a short summary of your order." }] } },}export default function FollowUpSuggestionsDemo() { const runtime = useLocalRuntime(adapter) return ( <AssistantRuntimeProvider runtime={runtime}> <ThreadPrimitive.Root className="w-full max-w-lg"> <ThreadFollowupSuggestions /> </ThreadPrimitive.Root> </AssistantRuntimeProvider> )}