mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-03 01:40:21 +08:00
feat(gateway): 增强候选路由策略与可观测信息
This commit is contained in:
@@ -30,6 +30,11 @@ export interface RoutingEndpointInfo {
|
||||
api_format: string
|
||||
base_url: string
|
||||
custom_path?: string | null
|
||||
format_acceptance_config?: {
|
||||
enabled?: boolean
|
||||
accept_formats?: string[] | null
|
||||
reject_formats?: string[] | null
|
||||
} | null
|
||||
is_active: boolean
|
||||
keys: RoutingKeyInfo[]
|
||||
total_keys: number
|
||||
@@ -53,6 +58,8 @@ export interface RoutingProviderInfo {
|
||||
name: string
|
||||
model_id: string
|
||||
provider_priority: number
|
||||
enable_format_conversion?: boolean
|
||||
keep_priority_on_conversion?: boolean
|
||||
billing_type?: string | null
|
||||
monthly_quota_usd?: number | null
|
||||
monthly_used_usd?: number | null
|
||||
@@ -91,5 +98,6 @@ export interface ModelRoutingPreviewResponse {
|
||||
active_providers: number
|
||||
scheduling_mode: string
|
||||
priority_mode: string
|
||||
keep_priority_on_conversion?: boolean
|
||||
all_keys_whitelist: GlobalKeyWhitelistItem[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user