Skip to content

Commit

Permalink
Merge pull request BerriAI#4715 from BerriAI/litellm_stack_cache_ui_a…
Browse files Browse the repository at this point in the history
…nalytics

Admin UI - Stack Cache hits vs misses on UI
  • Loading branch information
ishaan-jaff committed Jul 16, 2024
2 parents 9e07af6 + ced35cd commit 4dfc00a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/litellm-dashboard/src/components/cache_dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"]}
Expand All @@ -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"]}
Expand Down

0 comments on commit 4dfc00a

Please sign in to comment.