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 { AiConversationTree, AiConversationTreeContent, AiConversationTreeHeader, AiConversationTreePreview, type ConversationNode } from '@/components/elements/ai-conversation-tree'const nodes: ConversationNode[] = [ { id: '1', type: 'system', content: 'You are a helpful assistant.', children: [ { id: '2', type: 'user', content: 'Summarize the quarterly report.', children: [ { id: '3', type: 'assistant', content: 'Revenue grew 12% quarter over quarter, led by enterprise sales.', }, { id: '4', type: 'tool', content: 'Fetched report: q3-финансы.pdf (14 pages).', }, ], }, ], },]export default function ConversationTreeDemo() { return ( <AiConversationTree nodes={nodes} activeNodeId='3' className='w-full max-w-md'> <AiConversationTreeHeader /> <AiConversationTreeContent /> <AiConversationTreePreview /> </AiConversationTree> )}