mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-11 19:59:50 +08:00
refactor(health): add dashboard overview and related drill-down
- Replace health monitor tabs with a dashboard layout - Add related health drill-down for endpoint, model, and provider cards - Render provider health as cards and hide empty monitors
This commit is contained in:
@@ -157,6 +157,7 @@ pub(super) fn classify_public_support_route(
|
||||
| "/api/public/global-models"
|
||||
| "/api/public/health/api-formats"
|
||||
| "/api/public/health/models"
|
||||
| "/api/public/health/related"
|
||||
)
|
||||
{
|
||||
let route_kind = match normalized_path {
|
||||
@@ -168,6 +169,7 @@ pub(super) fn classify_public_support_route(
|
||||
"/api/public/global-models" => "global_models",
|
||||
"/api/public/health/api-formats" => "health_api_formats",
|
||||
"/api/public/health/models" => "health_models",
|
||||
"/api/public/health/related" => "health_related",
|
||||
_ => "site_info",
|
||||
};
|
||||
Some(classified(
|
||||
|
||||
Reference in New Issue
Block a user