feat: add model catalog filters and channel configuration
This commit is contained in:
1 parent
547f7c0977
commit
2897354dd8
7 files changed
+173
-15
No files matched your search
@@ -29,6 +29,11 @@ export interface ModelItem {
|
||||
availability: string
|
||||
accent: string
|
||||
icon: Component
|
||||
modelKey?: string
|
||||
sourceLabel?: string
|
||||
pricing?: { input?: number; output?: number; unit?: string }
|
||||
priority?: number
|
||||
maxConcurrency?: number
|
||||
}
|
||||
|
||||
export interface ApiKeyItem {
|
||||
@@ -82,6 +87,13 @@ export interface ProviderItem {
|
||||
successRate: string
|
||||
status: '健康' | '波动' | '维护中'
|
||||
enabled: boolean
|
||||
code?: string
|
||||
protocol?: 'openai-compatible' | 'http' | 'sdk'
|
||||
sourceType?: 'official' | 'relay' | 'self-hosted' | 'custom'
|
||||
baseUrl?: string
|
||||
description?: string
|
||||
credentialType?: 'none' | 'api-key' | 'bearer' | 'access-token'
|
||||
credentialMasked?: string
|
||||
}
|
||||
|
||||
export interface RouteItem {
|
||||
|
||||
Reference in new issue
Block a user