Merge pull request #4715 from BerriAI/litellm_stack_cache_ui_analytics

Admin UI - Stack Cache hits vs misses on UI
This commit is contained in:
Ishaan Jaff 2024-07-15 20:05:32 -07:00 committed by GitHub
commit 4dfc00ae0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -292,6 +292,7 @@ const CacheDashboard: React.FC<CachePageProps> = ({
<BarChart
title="Cache Hits vs API Requests"
data={filteredData}
stack={true}
index="name"
valueFormatter={valueFormatterNumbers}
categories={["LLM API requests", "Cache hit"]}
@ -303,6 +304,7 @@ const CacheDashboard: React.FC<CachePageProps> = ({
<BarChart
className="mt-6"
data={filteredData}
stack={true}
index="name"
valueFormatter={valueFormatterNumbers}
categories={["Generated Completion Tokens", "Cached Completion Tokens"]}