@elements/stream-debuggerloading 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 { AiStreamDebugger, AiStreamDebuggerHeader, AiStreamDebuggerContent } from "@/components/elements/ai-stream-debugger"import type { StreamChunk } from "@/components/elements/ai-stream-debugger"const base = new Date("2024-05-01T12:00:00.000Z")const at = (ms: number) => new Date(base.getTime() + ms)const chunks: StreamChunk[] = [  { id: "1", type: "text", content: "Sure, let me check the weather in Berlin.", timestamp: at(0) },  { id: "2", type: "tool_call", content: 'get_weather({"city": "Berlin"})', timestamp: at(120) },  { id: "3", type: "tool_result", content: '{"temp": 18, "condition": "cloudy"}', timestamp: at(340) },  { id: "4", type: "text", content: "It is 18C and cloudy in Berlin right now.", timestamp: at(410) },  { id: "5", type: "finish", content: "stop", timestamp: at(460) },]export default function StreamDebuggerDemo() {  return (    <AiStreamDebugger chunks={chunks} isStreaming={true} className="w-full max-w-lg">      <AiStreamDebuggerHeader title="Stream Debugger" />      <AiStreamDebuggerContent />    </AiStreamDebugger>  )}