@assistant-ui/assistant-sidebarloading the log…
NO RECENT BUILD
Pipeline
  1. Docsusage, props, keywords
  2. Demosrc/demo.tsx
  3. Buildshadcn add → vite
  4. Capturelight, dark, motion
  5. 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 { AssistantSidebar } from "@/components/assistant-ui/elements/assistant-sidebar.aui";import { Button } from "@/components/ui/button";const adapter: ChatModelAdapter = {  async run() {    return {      content: [{ type: "text", text: "Happy to help. Here is a short suggestion for your draft." }],    };  },};export default function AssistantSidebarDemo() {  const runtime = useLocalRuntime(adapter);  return (    <AssistantRuntimeProvider runtime={runtime}>      <div className="h-[400px] w-full">        <AssistantSidebar>          <div className="flex h-full flex-col justify-center gap-4 p-6">            <p className="text-muted-foreground text-sm">              Review your latest changes and ask the assistant for help with the next step.            </p>            <div>              <Button variant="outline">View changes</Button>            </div>          </div>        </AssistantSidebar>      </div>    </AssistantRuntimeProvider>  );}