mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
Split the Cost Optimization page's four tabs (Usage, Prompt Compression, Autorouter, Prompt Caching) into their own prerendered paths under /cost-optimization, mirroring the Models + Endpoints and Caching per-tab routing. A shared layout renders the header, the experimental banner and the tab bar, deriving the active tab from the pathname; each tab is its own page.tsx that pulls only the props it needs, so deep links and hard-loads to /cost-optimization/compression, /autorouter and /caching resolve to real static HTML with no nginx change. The former CostOptimizationView is removed. The tab bar is rebuilt on the shadcn Tabs primitive and the antd Alert becomes a plain banner, so the page adds no new antd usage. |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||