mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 09:20:22 +08:00
feat(models): 路由预览显示 Key 白名单的模型映射匹配
- 后端返回 GlobalModel 的 model_mappings 正则模式 - 前端用映射模式匹配 Key 白名单,显示匹配的模型名
This commit is contained in:
@@ -707,6 +707,7 @@ export interface ModelRoutingPreviewResponse {
|
||||
global_model_name: string
|
||||
display_name: string
|
||||
is_active: boolean
|
||||
global_model_mappings: string[] // GlobalModel 的模型映射规则(正则模式)
|
||||
providers: RoutingProviderInfo[]
|
||||
total_providers: number
|
||||
active_providers: number
|
||||
|
||||
Reference in New Issue
Block a user