diff --git a/ui/src/app/superadmin/runs/page.tsx b/ui/src/app/superadmin/runs/page.tsx index a13d87f..6a2eabf 100644 --- a/ui/src/app/superadmin/runs/page.tsx +++ b/ui/src/app/superadmin/runs/page.tsx @@ -363,7 +363,7 @@ export default function RunsPage() { )} - Dograh Token + Details handleSort('created_at')} @@ -440,23 +440,35 @@ export default function RunsPage() {
- - {typeof run.cost_info?.total_cost_usd === 'number' - ? `${Number(run.cost_info.total_cost_usd * 100).toFixed(2)}` - : '-'} - - {(run.usage_info || run.cost_info) && ( + {run.gathered_context && ( + + + + + +

Gathered Context

+
+                                                                            {JSON.stringify(run.gathered_context, null, 2)}
+                                                                        
+
+
+ )} + {run.usage_info && ( - -
-                                                                            {`Usage Info: ${JSON.stringify(run.usage_info ?? {}, null, 2)}\n\nCost Info: ${JSON.stringify(run.cost_info ?? {}, null, 2)}`}
+                                                                    
+                                                                        

Usage Info

+
+                                                                            {JSON.stringify(run.usage_info, null, 2)}
                                                                         
)} + {!run.gathered_context && !run.usage_info && ( + - + )}