From 8bac7f365981c68c63db578779fe217d8776be88 Mon Sep 17 00:00:00 2001 From: yassin Date: Thu, 27 Aug 2026 22:04:57 +0000 Subject: [PATCH] fix(ui): keep session cached count readable in the drawer session rail Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .../view_logs/LogDetailsDrawer/LogDetailsDrawer.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailsDrawer.tsx b/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailsDrawer.tsx index 3c63604fc72..f677a66cc54 100644 --- a/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailsDrawer.tsx +++ b/ui/litellm-dashboard/src/components/view_logs/LogDetailsDrawer/LogDetailsDrawer.tsx @@ -384,11 +384,15 @@ export function LogDetailsDrawer({ {isSessionMode && ( <> · - {sessionDurationSeconds}s· - {cacheHitCount}/{logsForList.length} cached + {sessionDurationSeconds}s )} + {isSessionMode && ( +
+ {cacheHitCount}/{logsForList.length} cached +
+ )} {isSessionMode && sessionTruncated && (
Showing most recent {logsForList.length} of {sessionTotalCount}