mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-07 01:56:53 +00:00
✨ feat: Add model performance metrics to dashboard
Add a shared `performance-metrics` feature module for perf metric APIs, DTOs, and formatting, then surface global 24h model performance on the dashboard with cards and a top-model table. Reuse the shared metrics module from pricing model details, remove duplicated perf API/formatting code from pricing, and add localized labels for the new dashboard performance UI.
This commit is contained in:
Vendored
+4
@@ -2383,6 +2383,7 @@
|
||||
"More templates...": "More templates...",
|
||||
"More...": "More...",
|
||||
"Most-used models in the selected period and category": "Most-used models in the selected period and category",
|
||||
"Monitored relay requests": "Monitored relay requests",
|
||||
"Move": "Move",
|
||||
"Move a request header": "Move a request header",
|
||||
"Move affiliate rewards to your main balance": "Move affiliate rewards to your main balance",
|
||||
@@ -2555,6 +2556,7 @@
|
||||
"No payment methods configured": "No payment methods configured",
|
||||
"No payment methods configured. Click \"Add method\" or use templates to get started.": "No payment methods configured. Click \"Add method\" or use templates to get started.",
|
||||
"No payment methods match your search": "No payment methods match your search",
|
||||
"No performance data available": "No performance data available",
|
||||
"No plans available": "No plans available",
|
||||
"No preference": "No preference",
|
||||
"No prefill groups yet": "No prefill groups yet",
|
||||
@@ -2849,6 +2851,7 @@
|
||||
"Percentage:": "Percentage:",
|
||||
"Performance": "Performance",
|
||||
"Performance data is not yet available for this model.": "Performance data is not yet available for this model.",
|
||||
"Performance metrics for the last 24 hours": "Performance metrics for the last 24 hours",
|
||||
"Performance metrics shown here are simulated for preview purposes and will be replaced with live observability data once the backend integration is complete.": "Performance metrics shown here are simulated for preview purposes and will be replaced with live observability data once the backend integration is complete.",
|
||||
"Performance Monitor": "Performance Monitor",
|
||||
"Performance Settings": "Performance Settings",
|
||||
@@ -4330,6 +4333,7 @@
|
||||
"Weekly token usage by model since launch": "Weekly token usage by model since launch",
|
||||
"Weekly Window": "Weekly Window",
|
||||
"Weight": "Weight",
|
||||
"Weighted by request count": "Weighted by request count",
|
||||
"Welcome back!": "Welcome back!",
|
||||
"Welcome to our New API...": "Welcome to our New API...",
|
||||
"Well-Known URL": "Well-Known URL",
|
||||
|
||||
Reference in New Issue
Block a user