diff --git a/frontend/src/components/panels/GraphPanel.tsx b/frontend/src/components/panels/GraphPanel.tsx index c9d30ae..b3cc6c1 100644 --- a/frontend/src/components/panels/GraphPanel.tsx +++ b/frontend/src/components/panels/GraphPanel.tsx @@ -1113,6 +1113,17 @@ export function GraphPanel({ projectId, isVisible, onClose, focusTraceId }: Grap source but never said when — so the one question you open an old trace to answer was the one thing the detail view could not tell you. */} + {/* What the turn cost. None/undefined renders nothing: + unknown pricing is not $0.00, and showing zero would + claim the turn was free. */} + {typeof (selectedGraph as any).cost_estimate_usd === 'number' && ( + + ≈${(selectedGraph as any).cost_estimate_usd.toFixed(3)} + + )} {(() => { const root = selectedGraph.nodes.find( (n) => !n.parent_id ||