From 87b718650a684635e1d65440fd85a56b32dbd547 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Wed, 22 Apr 2026 17:14:52 -0700 Subject: [PATCH] wire EvalViewer into log detail drawer below guardrail section --- .../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..7e265aedc38 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); + // Eval data + const evalInfo = metadata?.eval_information; + const hasEvalData = Array.isArray(evalInfo) ? evalInfo.length > 0 : evalInfo != null; + // Vector store data const hasVectorStoreData = checkHasVectorStoreData(metadata); @@ -190,6 +195,9 @@ export function LogDetailContent({ logEntry, onOpenSettings, isLoadingDetails = )} + {/* Eval Data */} + {hasEvalData && } + {/* Vector Store Data */} {hasVectorStoreData && }