1import { DecisionTree } from "@/components/mizzle/ai/decision-tree"
2
3<DecisionTree
4 decisions={[
5 {
6 id: "train",
7 agent: { name: "Trip planner", model: "Sonnet 5.5", mark: "claude" },
8 risk: "medium",
9 question: "The 9:40 train is sold out. What should I book instead?",
10 options: [
11 {
12 id: "early",
13 label: "Take the 7:10 train",
14 picked: true,
15 followUp: {
16 question: "Book breakfast on board?",
17 choices: [{ id: "yes", label: "Yes, for everyone", detail: "€126 in all" }],
18 },
19 },
20 { id: "vans", label: "Rent two vans", outcome: { id: "cost", label: "Needs two drivers", warn: true } },
21 { id: "other", label: "Something else…", other: true },
22 ],
23 },
24 ]}
25 onDecide={(decision, option, choice) => reply(decision.id, option.id, choice?.id)}
26/>