From 3ba518979e6c75afada99f894bf6aadc749d5504 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 28 Feb 2025 09:32:39 -0800 Subject: [PATCH] show status on ui --- .../src/components/view_logs/columns.tsx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ui/litellm-dashboard/src/components/view_logs/columns.tsx b/ui/litellm-dashboard/src/components/view_logs/columns.tsx index 3c37739b7c0..a9d9f65ac22 100644 --- a/ui/litellm-dashboard/src/components/view_logs/columns.tsx +++ b/ui/litellm-dashboard/src/components/view_logs/columns.tsx @@ -56,6 +56,24 @@ export const columns: ColumnDef[] = [ accessorKey: "startTime", cell: (info: any) => , }, + { + header: "Status", + accessorKey: "metadata.status", + cell: (info: any) => { + const status = info.getValue() || "Success"; + const isSuccess = status.toLowerCase() !== "failure"; + + return ( + + {isSuccess ? "Success" : "Failure"} + + ); + }, + }, { header: "Request ID", accessorKey: "request_id",