From d31a5cbbe3bc5b662d2dfeb4fd4888e75da1838a Mon Sep 17 00:00:00 2001 From: Kagamine Rin Date: Sat, 13 Jun 2026 16:43:56 -0400 Subject: [PATCH] fix: show resolved dates in cost report header Previously showed raw input like "yesterday to today". Now shows the resolved YYYY-MM-DD dates for clarity. --- litellm_dashboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm_dashboard.py b/litellm_dashboard.py index c437c0b..7916e58 100644 --- a/litellm_dashboard.py +++ b/litellm_dashboard.py @@ -305,7 +305,7 @@ class Tools: # Assemble report lines = [] - lines.append(f"LiteLLM Cost Report: {start_date} to {end_date}") + lines.append(f"LiteLLM Cost Report: {resolved_start} to {resolved_end}") lines.append("=" * 60) lines.append(f"Total Spend: ${total_spend:.2f}") lines.append(f"Total Tokens: {total_tokens:,} ({total_prompt:,} prompt + {total_completion:,} completion)")