litellm/ui/litellm-dashboard/e2e_tests/fixtures
ryan-crabbe-berri 1cc70f84c0
fix(ui): distinguish response cache from provider prompt caching (#34138)
* fix(ui): distinguish response cache from provider prompt caching

The log detail drawer labeled LiteLLM's response cache result as
"Cache Hit" and rendered a red "false" tag next to provider prompt
cache token counts, which read as prompt caching being broken. The
row is now labeled "Response Cache" with an explanatory tooltip,
shows a neutral "Miss" tag instead of a red one, and the prompt
cache token rows are prefixed with "Prompt Cache" and get their own
tooltips. Cost breakdown line items get the same prefix.

The Caching dashboard only reports response cache analytics but never
said so; it is renamed to "Response Cache" in the sidebar, gains a
scope description pointing to the Usage page and Logs for prompt
caching, and the ambiguous "Cached Tokens" stat card is renamed to
"Cached Completion Tokens".

* test(ui): cover renamed Response Cache sidebar item in e2e

The sidebar navigation spec now clicks the renamed "Response Cache"
item and asserts it routes to /ui/caching, and the menu label fixture
maps the new label while keeping "Caching" as a legacy alias.
Verified by running sidebar.spec.ts through run_e2e.sh (full harness:
built UI served by the proxy, seeded postgres); both tests pass.

* feat(ui): link cache tooltips and dashboard description to docs

The Response Cache tooltip links to the proxy caching docs and the
two prompt cache token tooltips link to the prompt caching docs, so
users can jump straight to the explanation of whichever mechanism
they are looking at. The Response Cache dashboard description links
both docs pages the same way.
2026-07-21 14:26:26 -07:00
..
mock_llm_server [Feature] E2E UI tests: proxy-admin team and key management with CI integration 2026-04-08 11:51:15 -07:00
config.yml test(e2e): add edit team model TPM/RPM limits test 2026-04-13 16:27:39 -07:00
menuMappings.ts fix(ui): distinguish response cache from provider prompt caching (#34138) 2026-07-21 14:26:26 -07:00
migratedPages.ts feat(ui): migrate api-keys landing to App Router path route (#30699) 2026-06-18 17:38:07 -07:00
pages.ts refactor(ui): remove orphaned pass-through-settings route (#30692) 2026-06-17 18:26:21 -07:00
roles.ts Adding e2e tests for sidebar 2025-12-30 12:19:25 -08:00
seed.sql test(e2e): cover Internal User create-key flow when in no teams (#29083) 2026-05-30 00:26:28 -07:00
users.ts [Fix] Add missing test fixtures and address review feedback 2026-04-08 12:40:41 -07:00