mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-12 12:38:31 +08:00
refactor: 重构限流系统和健康监控,支持按 API 格式区分
- 将 adaptive_concurrency 重命名为 adaptive_rpm,从并发控制改为 RPM 控制 - 健康监控器支持按 API 格式独立管理健康度和熔断器状态 - 新增 model_permissions 模块,支持按格式配置允许的模型 - 重构前端提供商相关表单组件,新增 Collapsible UI 组件 - 新增数据库迁移脚本支持新的数据结构
This commit is contained in:
@@ -424,8 +424,7 @@ export const MOCK_ADMIN_API_KEYS: AdminApiKeysResponse = {
|
||||
export const MOCK_PROVIDERS: ProviderWithEndpointsSummary[] = [
|
||||
{
|
||||
id: 'provider-001',
|
||||
name: 'duck_coding_free',
|
||||
display_name: 'DuckCodingFree',
|
||||
name: 'DuckCodingFree',
|
||||
description: '',
|
||||
website: 'https://duckcoding.com',
|
||||
provider_priority: 1,
|
||||
@@ -451,8 +450,7 @@ export const MOCK_PROVIDERS: ProviderWithEndpointsSummary[] = [
|
||||
},
|
||||
{
|
||||
id: 'provider-002',
|
||||
name: 'open_claude_code',
|
||||
display_name: 'OpenClaudeCode',
|
||||
name: 'OpenClaudeCode',
|
||||
description: '',
|
||||
website: 'https://www.openclaudecode.cn',
|
||||
provider_priority: 2,
|
||||
@@ -477,8 +475,7 @@ export const MOCK_PROVIDERS: ProviderWithEndpointsSummary[] = [
|
||||
},
|
||||
{
|
||||
id: 'provider-003',
|
||||
name: '88_code',
|
||||
display_name: '88Code',
|
||||
name: '88Code',
|
||||
description: '',
|
||||
website: 'https://www.88code.org/',
|
||||
provider_priority: 3,
|
||||
@@ -503,8 +500,7 @@ export const MOCK_PROVIDERS: ProviderWithEndpointsSummary[] = [
|
||||
},
|
||||
{
|
||||
id: 'provider-004',
|
||||
name: 'ikun_code',
|
||||
display_name: 'IKunCode',
|
||||
name: 'IKunCode',
|
||||
description: '',
|
||||
website: 'https://api.ikuncode.cc',
|
||||
provider_priority: 4,
|
||||
@@ -531,8 +527,7 @@ export const MOCK_PROVIDERS: ProviderWithEndpointsSummary[] = [
|
||||
},
|
||||
{
|
||||
id: 'provider-005',
|
||||
name: 'duck_coding',
|
||||
display_name: 'DuckCoding',
|
||||
name: 'DuckCoding',
|
||||
description: '',
|
||||
website: 'https://duckcoding.com',
|
||||
provider_priority: 5,
|
||||
@@ -561,8 +556,7 @@ export const MOCK_PROVIDERS: ProviderWithEndpointsSummary[] = [
|
||||
},
|
||||
{
|
||||
id: 'provider-006',
|
||||
name: 'privnode',
|
||||
display_name: 'Privnode',
|
||||
name: 'Privnode',
|
||||
description: '',
|
||||
website: 'https://privnode.com',
|
||||
provider_priority: 6,
|
||||
@@ -584,8 +578,7 @@ export const MOCK_PROVIDERS: ProviderWithEndpointsSummary[] = [
|
||||
},
|
||||
{
|
||||
id: 'provider-007',
|
||||
name: 'undying_api',
|
||||
display_name: 'UndyingAPI',
|
||||
name: 'UndyingAPI',
|
||||
description: '',
|
||||
website: 'https://vip.undyingapi.com',
|
||||
provider_priority: 7,
|
||||
|
||||
Reference in New Issue
Block a user