mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-06 17:37:47 +08:00
fix(providers): correct endpoint health aggregation and display
This commit is contained in:
@@ -581,7 +581,7 @@ export interface EndpointAPIKeyUpdate {
|
||||
|
||||
export interface EndpointHealthDetail {
|
||||
api_format: string
|
||||
health_score: number
|
||||
health_score: number | null
|
||||
is_active: boolean
|
||||
total_keys?: number
|
||||
active_keys?: number
|
||||
@@ -914,7 +914,7 @@ export interface ProviderWithEndpointsSummary {
|
||||
total_models: number
|
||||
active_models: number
|
||||
global_model_ids: string[]
|
||||
avg_health_score: number
|
||||
avg_health_score: number | null
|
||||
unhealthy_endpoints: number
|
||||
api_formats: string[]
|
||||
endpoint_health_details: EndpointHealthDetail[]
|
||||
|
||||
Reference in New Issue
Block a user