@elements/request-inspectorloading 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 {  AiRequestInspector,  AiRequestInspectorHeader,  AiRequestInspectorRequest,  AiRequestInspectorResponse,} from "@/components/elements/ai-request-inspector"export default function RequestInspectorDemo() {  return (    <AiRequestInspector      className="w-full max-w-lg"      duration={842}      request={{        method: "POST",        url: "/v1/chat/completions",        headers: { "Content-Type": "application/json" },        body: {          model: "gpt-4o",          messages: [{ role: "user", content: "Summarize this report." }],        },      }}      response={{        status: 200,        body: {          id: "chatcmpl-123",          choices: [            {              message: {                role: "assistant",                content: "The report shows steady growth.",              },            },          ],        },      }}    >      <AiRequestInspectorHeader />      <AiRequestInspectorRequest />      <AiRequestInspectorResponse />    </AiRequestInspector>  )}