From 9efa01f0cd92099059ecfc5ef0dd21a4abc92b6e Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Thu, 23 Apr 2026 15:21:59 -0700 Subject: [PATCH] fix(ui): wire EvalViewer into LogDetailContent to show LLM judge results on logs page --- .../view_logs/LogDetailsDrawer/LogDetailContent.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailContent.tsx b/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailContent.tsx index 62b73074718..c0c6718693e 100644 --- a/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailContent.tsx +++ b/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailContent.tsx @@ -4,6 +4,7 @@ import moment from "moment"; import { LogEntry } from "../columns"; import { formatNumberWithCommas } from "@/utils/dataUtils"; import GuardrailViewer from "../GuardrailViewer/GuardrailViewer"; +import EvalViewer from "../EvalViewer/EvalViewer"; import { CostBreakdownViewer } from "../CostBreakdownViewer"; import { ConfigInfoMessage } from "../ConfigInfoMessage"; import { VectorStoreViewer } from "../VectorStoreViewer"; @@ -68,6 +69,10 @@ export function LogDetailContent({ logEntry, onOpenSettings, isLoadingDetails = const totalMaskedEntities = calculateTotalMaskedEntities(guardrailEntries); const primaryGuardrailLabel = getGuardrailLabel(guardrailEntries); + // LLM Judge data + const evalInfo = metadata?.eval_information; + const hasEvalData = evalInfo != null; + // Vector store data const hasVectorStoreData = checkHasVectorStoreData(metadata); @@ -190,6 +195,9 @@ export function LogDetailContent({ logEntry, onOpenSettings, isLoadingDetails = )} + {/* LLM Judge Results */} + {hasEvalData && } + {/* Vector Store Data */} {hasVectorStoreData && }