@assistant-ui/elements-sourcesloading 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 { useState } from "react";import { Sources, type Source } from "@/components/assistant-ui/elements/sources";const sources: Source[] = [  {    domain: "wikipedia.org",    title: "Photosynthesis - Wikipedia",    snippet: "Photosynthesis converts light energy into chemical energy stored in glucose.",    author: "Wikipedia contributors",    publishedAt: "2024-03-01",  },  {    domain: "nature.com",    title: "How plants capture sunlight",    snippet: "A review of recent advances in light-harvesting chlorophyll complexes.",    author: "A. Rivera",    publishedAt: "2023-11-15",  },  {    domain: "britannica.com",    title: "Chloroplast",  },];export default function SourcesDemo() {  const [open, setOpen] = useState(true);  return (    <div className="w-full max-w-md">      <Sources sources={sources} open={open} onOpenChange={setOpen} />    </div>  );}