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 { Background, MarkerType, ReactFlow } from "@xyflow/react"import type { Edge as FlowEdge, Node } from "@xyflow/react"import { Edge } from "@/components/ai-elements/edge"const nodes: Node[] = [ { id: "input", position: { x: 40, y: 130 }, data: { label: "New request" }, }, { id: "process", position: { x: 250, y: 60 }, data: { label: "Process with AI" }, }, { id: "output", position: { x: 250, y: 210 }, data: { label: "Ready to send" }, },]const edges: FlowEdge[] = [ { id: "input-process", source: "input", target: "process", type: "animated", markerEnd: { type: MarkerType.ArrowClosed }, }, { id: "input-output", source: "input", target: "output", type: "animated", markerEnd: { type: MarkerType.ArrowClosed }, },]const edgeTypes = { animated: Edge.Animated }export default function EdgeDemo() { return ( <div className="h-[360px] w-full max-w-lg"> <ReactFlow nodes={nodes} edges={edges} edgeTypes={edgeTypes} fitView fitViewOptions={{ padding: 0.3 }} nodesConnectable={false} nodesDraggable={false} zoomOnScroll={false} panOnScroll > <Background gap={20} size={1} /> </ReactFlow> </div> )}