From a998e18e6c4bdcc161f0baf82cbf534cc9d53627 Mon Sep 17 00:00:00 2001 From: Yige Date: Fri, 28 Aug 2026 14:52:05 +0800 Subject: [PATCH] =?UTF-8?q?chore(compute):=20=E4=B8=8B=E6=9E=B6=E9=9B=B6?= =?UTF-8?q?=E4=B8=80=E4=B8=87=E7=89=A9=20API=20=E9=85=8D=E7=BD=AE=20(#84)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __tests__/validate.test.mjs | 1 - compute/model-specs/_index.json | 1 - compute/model-specs/lingyiwanwu.json | 63 ------------------- compute/providers/_index.json | 1 - compute/providers/lingyiwanwu.json | 63 ------------------- manifest.json | 2 +- ...pply_all_updates_and_build_diff_report.mjs | 1 - tools/batch_update_model_jsons.mjs | 1 - tools/generate_current_audit_artifacts.mjs | 1 - tools/generate_field_tables_per_json.mjs | 1 - 10 files changed, 1 insertion(+), 134 deletions(-) delete mode 100644 compute/model-specs/lingyiwanwu.json delete mode 100644 compute/providers/lingyiwanwu.json diff --git a/__tests__/validate.test.mjs b/__tests__/validate.test.mjs index 9f4f8cd..0a755b5 100644 --- a/__tests__/validate.test.mjs +++ b/__tests__/validate.test.mjs @@ -448,7 +448,6 @@ describe('真实数据全量校验', () => { deepseek: 'CNY', google: 'USD', kling: 'CNY', - lingyiwanwu: 'CNY', 'local-whisper': 'USD', minimax: 'CNY', mistral: 'USD', diff --git a/compute/model-specs/_index.json b/compute/model-specs/_index.json index ee990e3..565e610 100644 --- a/compute/model-specs/_index.json +++ b/compute/model-specs/_index.json @@ -17,7 +17,6 @@ "baidu", "cohere", "kling", - "lingyiwanwu", "perplexity", "stability", "tencent", diff --git a/compute/model-specs/lingyiwanwu.json b/compute/model-specs/lingyiwanwu.json deleted file mode 100644 index fe46889..0000000 --- a/compute/model-specs/lingyiwanwu.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "description": "零一万物 Yi 系列模型规格。参数来源:config-center compute/providers/lingyiwanwu.json。", - "specs": [ - { - "id": "yi-lightning", - "displayName": "Yi Lightning", - "family": "yi-lightning", - "match": { - "exact": [ - "yi-lightning" - ], - "patterns": [ - "yi-lightning*" - ] - }, - "spec": { - "contextWindow": 16000, - "maxOutputTokens": 4096, - "capabilities": [ - "chat", - "reasoning", - "code", - "fast", - "smart_routing" - ], - "serviceType": [ - "chat" - ], - "defaultTemperature": 0.3, - "description": "零一万物高性能模型,16K 上下文,智能路由,极高性价比" - } - }, - { - "id": "yi-vision-v2", - "displayName": "Yi Vision V2", - "family": "yi-vision", - "match": { - "exact": [ - "yi-vision-v2" - ], - "patterns": [ - "yi-vision*" - ] - }, - "spec": { - "contextWindow": 16000, - "maxOutputTokens": 4096, - "capabilities": [ - "chat", - "vision", - "image_understanding", - "ocr", - "chart_analysis" - ], - "serviceType": [ - "vision" - ], - "defaultTemperature": 0.3, - "description": "零一万物复杂视觉任务模型,16K 上下文,支持多图分析" - } - } - ] -} diff --git a/compute/providers/_index.json b/compute/providers/_index.json index a737bd9..ba2dfb0 100644 --- a/compute/providers/_index.json +++ b/compute/providers/_index.json @@ -12,7 +12,6 @@ "zhipu", "zhipu-embedding", "baichuan", - "lingyiwanwu", "minimax", "xiaomi", "baidu", diff --git a/compute/providers/lingyiwanwu.json b/compute/providers/lingyiwanwu.json deleted file mode 100644 index 0a4e6e9..0000000 --- a/compute/providers/lingyiwanwu.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "id": "provider-lingyiwanwu-001", - "provider": "lingyiwanwu", - "label": "零一万物 Yi", - "baseUrl": "https://api.lingyiwanwu.com/v1", - "apiFormat": "openai-completions", - "apiKeyRef": "lingyiwanwu", - "apiKeyVerified": false, - "enabled": false, - "status": "unconfigured", - "priceCurrency": "CNY", - "services": [ - "chat", - "vision" - ], - "models": [ - { - "modelName": "yi-lightning", - "displayName": "Yi Lightning", - "serviceType": [ - "chat" - ], - "description": "零一万物高性能模型,16K上下文,智能路由,极高性价比", - "contextWindow": 16000, - "maxOutputTokens": 4096, - "capabilities": [ - "chat", - "reasoning", - "code", - "fast", - "smart_routing" - ], - "inputPrice": 0.99, - "outputPrice": 0.99, - "defaultTemperature": 0.3, - "defaultTopP": 0.9, - "extra": {} - }, - { - "modelName": "yi-vision-v2", - "displayName": "Yi Vision V2", - "serviceType": [ - "vision" - ], - "description": "零一万物复杂视觉任务模型,16K上下文,支持多图分析", - "contextWindow": 16000, - "maxOutputTokens": 4096, - "capabilities": [ - "chat", - "vision", - "image_understanding", - "ocr", - "chart_analysis", - "smart_routing" - ], - "inputPrice": 6, - "outputPrice": 6, - "defaultTemperature": 0.3, - "defaultTopP": 0.9, - "extra": {} - } - ] -} diff --git a/manifest.json b/manifest.json index 58b63e3..66b8d23 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "version": "1.0.0", - "presetDataVersion": 99, + "presetDataVersion": 100, "updatedAt": "2026-08-28", "description": "DesireCore 官方配置中心" } diff --git a/tools/apply_all_updates_and_build_diff_report.mjs b/tools/apply_all_updates_and_build_diff_report.mjs index 79c6f07..dc6fe54 100644 --- a/tools/apply_all_updates_and_build_diff_report.mjs +++ b/tools/apply_all_updates_and_build_diff_report.mjs @@ -27,7 +27,6 @@ const PROVIDER_OWNED_BY = { xai: ["x-ai"], mistral: ["mistralai"], kwai: ["kuaishou"], - lingyiwanwu: ["inclusionai"], siliconflow: ["qwen", "baai"], cohere: ["cohere"], perplexity: ["perplexity"], diff --git a/tools/batch_update_model_jsons.mjs b/tools/batch_update_model_jsons.mjs index f2a2ec5..0c449ba 100644 --- a/tools/batch_update_model_jsons.mjs +++ b/tools/batch_update_model_jsons.mjs @@ -26,7 +26,6 @@ const PROVIDER_OWNED_BY = { xai: ["x-ai"], mistral: ["mistralai"], kwai: ["kuaishou"], - lingyiwanwu: ["inclusionai"], siliconflow: ["qwen", "baai"], cohere: ["cohere"], perplexity: ["perplexity"], diff --git a/tools/generate_current_audit_artifacts.mjs b/tools/generate_current_audit_artifacts.mjs index 4509dab..ce18aa9 100644 --- a/tools/generate_current_audit_artifacts.mjs +++ b/tools/generate_current_audit_artifacts.mjs @@ -27,7 +27,6 @@ const PROVIDER_OWNED_BY = { xai: ["x-ai"], mistral: ["mistralai"], kwai: ["kuaishou"], - lingyiwanwu: ["inclusionai"], siliconflow: ["qwen", "baai"], cohere: ["cohere"], perplexity: ["perplexity"], diff --git a/tools/generate_field_tables_per_json.mjs b/tools/generate_field_tables_per_json.mjs index 9dfeb0b..cafaf88 100644 --- a/tools/generate_field_tables_per_json.mjs +++ b/tools/generate_field_tables_per_json.mjs @@ -26,7 +26,6 @@ const PROVIDER_OWNED_BY = { xai: ["x-ai"], mistral: ["mistralai"], kwai: ["kuaishou"], - lingyiwanwu: ["inclusionai"], siliconflow: ["qwen", "baai"], cohere: ["cohere"], perplexity: ["perplexity"],