diff --git a/__tests__/catalog-v2.test.mjs b/__tests__/catalog-v2.test.mjs index 4c699eb..17371da 100644 --- a/__tests__/catalog-v2.test.mjs +++ b/__tests__/catalog-v2.test.mjs @@ -95,15 +95,15 @@ test('explicit access-local/dynamic contracts stay callable on known adapters bu assert.ok(resolveEffectiveModel(spec,m,{...options,connection:{apiFormat:'not-implemented'}}).blockedReasons.includes('unknown-adapter')); } }); -test('all 36 confirmed unimplemented native models remain visible and cannot call or auto route',()=>{ +test('all 34 confirmed unimplemented native models remain visible and cannot call or auto route',()=>{ const decisions=JSON.parse(fs.readFileSync(path.join(root,'docs/plans/catalog-contract-migration/ADAPTER-DECISIONS.json'),'utf8')).decisions; - assert.equal(decisions.length,36);let count=0; + assert.equal(decisions.length,34);let count=0; for(const decision of decisions){ const access=catalog.accesses.find(a=>a.metadata.sourceFile===decision.file),m=access.models.find(m=>m.apiModelId===decision.apiModelId),s=catalog.specs.find(s=>s.modelRef===m.modelRef); assert.equal(m.protocol.state,'unsupported',`${decision.file}:${m.apiModelId}`);assert.ok(m.protocol.reason);assert.equal(m.protocol.requiredClientVersion,undefined); const result=resolveEffectiveModel(s,m,{...options,connection:access.connection});assert.equal(result.eligibleForCall,false);assert.equal(result.eligibleForAutoRouting,false);assert.ok(result.blockedReasons.includes('unsupported-adapter'));count++; } - assert.equal(count,36); + assert.equal(count,34); }); test('actual outgoing aliases survive canonical transport IDs and V1 projection',()=>{ const expected={ 'glm-5.2':'glm-5.2[1m]','doubao-seed-2.1-pro':'doubao-seed-2-1-pro-260628','doubao-seed-2.1-turbo':'doubao-seed-2-1-turbo-260628'}; diff --git a/__tests__/spec-identity-governance.test.mjs b/__tests__/spec-identity-governance.test.mjs index 4a585eb..a9bde9b 100644 --- a/__tests__/spec-identity-governance.test.mjs +++ b/__tests__/spec-identity-governance.test.mjs @@ -19,7 +19,7 @@ test('identity-only coding variants cannot inherit family context, output or rou }) test('all recorded baseline differences and exceptions have explicit decisions',()=>{ const d=read('docs/plans/catalog-contract-migration/SPEC-DECISIONS.json') - assert.equal(d.bindings.length,24);assert.equal(d.differences.length,45);assert.equal(d.specOnly.length,58) + assert.equal(d.bindings.length,24);assert.equal(d.differences.length,45);assert.equal(d.specOnly.length,59) for(const row of [...d.differences,...d.specOnly]){assert.ok(row.classification);assert.ok(row.decision);assert.ok(row.reason)} for(const row of d.accessExceptions){assert.equal(row.inheritFamily,false);assert.equal(row.automaticRouting,false);assert.equal(row.effectiveBinding,null)} assert.ok(d.differences.some(r=>r.id==='gpt-5.4-nano'&&!r.currentDifferences.length)) diff --git a/__tests__/supplier-contract-updates.test.mjs b/__tests__/supplier-contract-updates.test.mjs index 4962ba0..1f8640d 100644 --- a/__tests__/supplier-contract-updates.test.mjs +++ b/__tests__/supplier-contract-updates.test.mjs @@ -176,3 +176,55 @@ test('Mistral original unknown budgets stay unknown rather than inheriting the g assert.equal(hosted.facts.contextWindow, 1048576) assert.equal(hosted.facts.maxOutputTokens, 262144) }) +test('ASR presets declare the protocol their client adapter implements', () => { + const specs = { + 'fun-asr-realtime': read('compute/model-specs/qwen.json').specs.find(item => item.id === 'fun-asr-realtime'), + 'gpt-transcribe': read('compute/model-specs/openai.json').specs.find(item => item.id === 'gpt-transcribe'), + 'whisper-large-v3': read('compute/model-specs/openai.json').specs.find(item => item.id === 'whisper-large-v3'), + } + const protocols = { 'fun-asr-realtime': 'dashscope-websocket-asr', 'gpt-transcribe': 'openai-audio-transcriptions', 'whisper-large-v3': 'openai-audio-transcriptions' } + for (const [id, spec] of Object.entries(specs)) { + assert.deepEqual(spec.match.exact, [id], '只精确匹配,不能经 family 把协议扩散到其他型号') + assert.deepEqual(spec.spec.serviceType, ['asr']) + assert.equal(spec.spec.extra.modelOrigin.canonicalModelId, id) + assert.equal(spec.spec.extra.speech.protocol, protocols[id]) + assert.equal(spec.spec.extra.speech.protocolVersion, '1') + assert.equal(spec.routing, undefined, '语音模型不进入 Agent 自动路由') + } + // 客户端解析实时听写要求 PCM16/16k 流式;整段识别要求 wav。 + assert.deepEqual(specs['fun-asr-realtime'].spec.extra.speech.modes, ['batch', 'streaming']) + assert.deepEqual(specs['fun-asr-realtime'].spec.extra.speech.sampleRates, [16000]) + for (const spec of Object.values(specs)) assert.ok(spec.spec.extra.speech.inputFormats.includes('wav')) + // gpt-transcribe 用 languages 取代 language,协议 v1 发不了,声明不接受语言提示。 + assert.equal(specs['gpt-transcribe'].spec.extra.speech.languageHints, false) + assert.equal(specs['whisper-large-v3'].spec.extra.speech.languageHints, true) +}) +test('Paraformer leaves the DashScope preset while its spec stays, because it only accepts public URLs', () => { + const provider = read('compute/providers/dashscope.json') + assert.equal(provider.models.some(item => item.modelName === 'paraformer-v2'), false) + assert.ok(provider.tombstones.includes('paraformer-v2')) + assert.ok(provider.models.some(item => item.modelName === 'fun-asr-realtime')) + assert.ok(read('compute/model-specs/qwen.json').specs.some(item => item.id === 'paraformer-v2')) +}) +test('Whisper-1 stays selectable in V1 until its announced shutdown', () => { + const provider = read('compute/providers/openai.json') + assert.ok(provider.models.some(item => item.modelName === 'whisper-1')) + assert.ok(provider.models.some(item => item.modelName === 'gpt-transcribe')) + const catalog = read('catalog/v2/catalog.json') + const lifecycle = catalog.specs.find(item => item.modelRef === 'openai:whisper-1').lifecycle + assert.equal(lifecycle.status, 'deprecated') + assert.equal(lifecycle.retiredAt, '2027-02-26') +}) +test('credentialMode reaches V1 only: released clients reject unknown V2 connection keys', () => { + assert.equal(read('compute/providers/local-whisper.json').credentialMode, 'none') + for (const path of ['catalog/v2/catalog.json', 'compute/v2/catalog.json']) { + const access = read(path).accesses.find(item => item.id === 'provider-local-whisper') + assert.equal(access.connection.credentialMode, undefined, path) + } + const compiled = read('compute/v2/catalog.json') + assert.equal(compiled.accesses.some(item => item.metadata.v1Connection !== undefined), false) + const schema = read('schemas/catalog-v2.schema.json') + const connection = schema.properties.accesses.items.properties.connection + assert.equal(connection.additionalProperties, false) + assert.equal(connection.properties.credentialMode, undefined, '放宽前先确认客户端 Schema 已接受并铺开') +}) diff --git a/catalog/v2/README.md b/catalog/v2/README.md index 008fc66..c2930f2 100644 --- a/catalog/v2/README.md +++ b/catalog/v2/README.md @@ -10,6 +10,10 @@ 2026-10-28 数据批次 134:新增 7 个精确原厂型号、18 条接入记录,并将 MiniMax 套餐已下线的 Preview 预置替换为正式版,当前共 293 条规格、353 条接入。原厂、订阅与 OpenRouter 的窗口、输出、推理和计价分别维护;新型号不加入默认自动路由。下文的 340 条是初次迁移核对范围,当前编译器实际对照全部 353 条。 +2026-11-01 数据批次 135:语音识别预置可用化,新增 3 个精确规格(`fun-asr-realtime`、`gpt-transcribe`、`whisper-large-v3`)与 1 条净增接入(`gpt-transcribe`;`fun-asr-realtime` 替换 dashscope 的 `paraformer-v2`,后者写入 tombstones、规格保留),当前共 296 条规格、354 条接入。 + +`access.metadata.v1Connection` 放只进 V1 Provider 投影的连接字段:已发布客户端的 V2 连接 Schema 为 `additionalProperties: false`,未知键会让整份配置中心数据被拒收(`算力目录Schema不兼容当前客户端`)。目前只有本地 Whisper 的 `credentialMode`。编译产物删除这个键,等客户端 V2 Schema 接受并铺开后再移入 `connection`。 + metadata不消费。V1布局及历史未消费extra保存在canonical metadata,完整回投影;运行时产物删除布局信息。迁移不刷新官方核验日期、不提升proof等级。价格币种和原数值保持,复杂价阶/注释保留sourceKey和源单位;没有转换为零或统一按token收费。 客户端用户配置迁移不由这个仓库对用户磁盘执行,由客户端迁移器保留秘密、用户覆写与一次回滚基线;本工具只迁移受管作者数据。 diff --git a/catalog/v2/catalog.json b/catalog/v2/catalog.json index 0480cdb..97b1aba 100644 --- a/catalog/v2/catalog.json +++ b/catalog/v2/catalog.json @@ -8152,6 +8152,73 @@ } } }, + { + "modelRef": "openai:gpt-transcribe", + "identity": { + "vendor": "openai", + "canonicalModelId": "gpt-transcribe" + }, + "facts": { + "capabilities": [ + "asr", + "multilingual" + ], + "serviceType": [ + "asr" + ], + "description": "OpenAI 推荐的录音转写模型,支持多语言音频,自动识别语言", + "constraints": { + "modelOrigin": { + "vendor": "openai", + "canonicalModelId": "gpt-transcribe", + "family": "gpt-transcribe" + }, + "speech": { + "protocol": "openai-audio-transcriptions", + "protocolVersion": "1", + "modes": [ + "batch" + ], + "inputFormats": [ + "webm", + "wav", + "mp3" + ], + "languageHints": false + } + } + }, + "routing": {}, + "lifecycle": { + "status": "active", + "checkedAt": "2026-11-01" + }, + "metadata": { + "recordedExtra": {}, + "projection": { + "specKeys": [ + "capabilities", + "serviceType", + "description", + "extra" + ], + "extraKeys": [ + "modelOrigin", + "speech" + ] + }, + "sourceFile": "compute/model-specs/openai.json", + "legacyIdentity": { + "displayName": "GPT Transcribe", + "family": "gpt-transcribe", + "match": { + "exact": [ + "gpt-transcribe" + ] + } + } + } + }, { "modelRef": "openai:whisper-1", "identity": { @@ -8170,7 +8237,10 @@ }, "routing": {}, "lifecycle": { - "status": "unknown" + "status": "deprecated", + "retiredAt": "2027-02-26", + "evidence": "https://developers.openai.com/api/docs/deprecations", + "checkedAt": "2026-11-01" }, "metadata": { "recordedExtra": {}, @@ -8194,6 +8264,72 @@ } } }, + { + "modelRef": "openai:whisper-large-v3", + "identity": { + "vendor": "openai", + "canonicalModelId": "whisper-large-v3" + }, + "facts": { + "capabilities": [ + "asr", + "multilingual" + ], + "serviceType": [ + "asr" + ], + "description": "OpenAI 开放权重的 Whisper large-v3,需自行部署兼容 OpenAI 转写接口的服务", + "constraints": { + "modelOrigin": { + "vendor": "openai", + "canonicalModelId": "whisper-large-v3", + "family": "whisper" + }, + "speech": { + "protocol": "openai-audio-transcriptions", + "protocolVersion": "1", + "modes": [ + "batch" + ], + "inputFormats": [ + "webm", + "wav", + "mp3" + ], + "languageHints": true + } + } + }, + "routing": {}, + "lifecycle": { + "status": "unknown" + }, + "metadata": { + "recordedExtra": {}, + "projection": { + "specKeys": [ + "capabilities", + "serviceType", + "description", + "extra" + ], + "extraKeys": [ + "modelOrigin", + "speech" + ] + }, + "sourceFile": "compute/model-specs/openai.json", + "legacyIdentity": { + "displayName": "Whisper Large V3", + "family": "whisper-large-v3", + "match": { + "exact": [ + "whisper-large-v3" + ] + } + } + } + }, { "modelRef": "openai:o3-pro", "identity": { @@ -10629,6 +10765,79 @@ } } }, + { + "modelRef": "qwen:fun-asr-realtime", + "identity": { + "vendor": "qwen", + "canonicalModelId": "fun-asr-realtime" + }, + "facts": { + "capabilities": [ + "asr", + "chinese_optimized", + "multilingual" + ], + "serviceType": [ + "asr" + ], + "description": "通义 Fun-ASR 实时语音识别,WebSocket 流式转写", + "constraints": { + "modelOrigin": { + "vendor": "alibaba", + "canonicalModelId": "fun-asr-realtime", + "family": "fun-asr-realtime" + }, + "speech": { + "protocol": "dashscope-websocket-asr", + "protocolVersion": "1", + "modes": [ + "batch", + "streaming" + ], + "inputFormats": [ + "webm", + "wav", + "pcm", + "mp3" + ], + "sampleRates": [ + 16000 + ], + "languageHints": true + } + } + }, + "routing": {}, + "lifecycle": { + "status": "active", + "checkedAt": "2026-11-01" + }, + "metadata": { + "recordedExtra": {}, + "projection": { + "specKeys": [ + "capabilities", + "serviceType", + "description", + "extra" + ], + "extraKeys": [ + "modelOrigin", + "speech" + ] + }, + "sourceFile": "compute/model-specs/qwen.json", + "legacyIdentity": { + "displayName": "Fun-ASR Realtime", + "family": "fun-asr-realtime", + "match": { + "exact": [ + "fun-asr-realtime" + ] + } + } + } + }, { "modelRef": "qwen:paraformer-v2", "identity": { @@ -10643,7 +10852,7 @@ "serviceType": [ "asr" ], - "description": "通义语音识别" + "description": "通义录音文件异步转写,只接受公网可访问的音频 URL;客户端未适配" }, "routing": {}, "lifecycle": { @@ -18433,7 +18642,8 @@ "qwen-plus", "qwen-turbo", "qwen3-max", - "qwen3-max-trans" + "qwen3-max-trans", + "paraformer-v2" ] }, "models": [ @@ -19656,30 +19866,40 @@ } }, { - "apiModelId": "paraformer-v2", - "modelRef": "qwen:paraformer-v2", + "apiModelId": "fun-asr-realtime", + "modelRef": "qwen:fun-asr-realtime", "binding": { "kind": "exact", - "reason": "exact-id-or-declared-alias" + "reason": "official-exact-model-identity" }, "overrides": {}, "request": {}, - "billing": [], + "billing": [ + { + "sourceKey": "extra.pricingNotes", + "amount": "华北2(北京)按输入音频秒数计费 0.00033 元/秒,输出不计费。", + "currency": "CNY", + "unit": "annotation", + "verification": "officially-verified-access-contract" + } + ], "lifecycle": { - "status": "unknown" + "status": "active" }, "metadata": { "attributes": { - "displayName": "Paraformer V2", - "description": "通义语音识别" + "displayName": "Fun-ASR Realtime", + "description": "通义 Fun-ASR 实时语音识别,支持听写与音频文件转写" }, "recordedExtra": { - "maxAudioLength": 3600, "supportedInputFormats": [ + "pcm", "wav", "mp3", - "pcm", - "ogg" + "opus", + "speex", + "aac", + "amr" ], "streamingSupported": true }, @@ -19693,36 +19913,12 @@ "extra" ], "extraKeys": [ - "maxAudioLength", "supportedInputFormats", - "streamingSupported" + "streamingSupported", + "pricingNotes" ] }, - "sourceRecord": "compute/providers/dashscope.json#paraformer-v2", - "adapterReadiness": { - "checkedAt": "2026-10-03", - "evidence": [ - { - "path": "packages/agent-service/src/speech/asr-adapter.ts", - "assertion": "recognize/synthesize通过resolveSpeechCompute解析model profile与adapter,非直接按Provider.apiFormat发送。" - }, - { - "path": "packages/agent-service/src/speech/speech-resolver.ts", - "assertion": "resolveProfile仅显式modelOrigin/speech或兼容表;无profile且无兼容命中立即fail missing_model_profile。" - }, - { - "path": "packages/speech-core/src/model-compatibility.ts", - "assertion": "逐精确ID匹配:tts-1/hd、whisper-1、mimo-v2.5tts/asr、cosyvoice-v2/v3前缀、fun-asr-realtime前缀;本行均未命中,无provider/local-whisper fallback。" - } - ], - "floorDecision": "没有实现/正式发布证据,不填猜测版本。候选展示保留,出站及自动路由禁止,适配验收后再解除。" - } - }, - "protocol": { - "state": "unsupported", - "reason": "missing-speech-profile-and-compatibility", - "apiFormat": "openai-completions", - "adapterId": "required-adapter:asr:dashscope" + "sourceRecord": "compute/providers/dashscope.json#fun-asr-realtime" } }, { @@ -22807,30 +23003,12 @@ "models": [ { "apiModelId": "whisper-large-v3", - "modelRef": null, + "modelRef": "openai:whisper-large-v3", "binding": { - "kind": "access-local", - "reason": "本地开源安装与云whisper-1不是同一合同;保留本地安装识别,不继承云端接口/额度。" - }, - "overrides": { - "serviceType": { - "value": [ - "asr" - ], - "reason": "preserved-access-contract", - "evidence": "compute/providers/local-whisper.json#whisper-large-v3", - "verification": "inherited-not-reverified" - }, - "capabilities": { - "value": [ - "asr", - "multilingual" - ], - "reason": "preserved-access-contract", - "evidence": "compute/providers/local-whisper.json#whisper-large-v3", - "verification": "inherited-not-reverified" - } + "kind": "exact", + "reason": "本地部署的开放权重 large-v3 精确身份;不继承云端 whisper-1 的接口与额度。" }, + "overrides": {}, "request": {}, "billing": [], "lifecycle": { @@ -22867,37 +23045,15 @@ "streamingSupported" ] }, - "sourceRecord": "compute/providers/local-whisper.json#whisper-large-v3", - "automaticRouting": false, - "adapterReadiness": { - "checkedAt": "2026-10-03", - "evidence": [ - { - "path": "packages/agent-service/src/speech/asr-adapter.ts", - "assertion": "recognize/synthesize通过resolveSpeechCompute解析model profile与adapter,非直接按Provider.apiFormat发送。" - }, - { - "path": "packages/agent-service/src/speech/speech-resolver.ts", - "assertion": "resolveProfile仅显式modelOrigin/speech或兼容表;无profile且无兼容命中立即fail missing_model_profile。" - }, - { - "path": "packages/speech-core/src/model-compatibility.ts", - "assertion": "逐精确ID匹配:tts-1/hd、whisper-1、mimo-v2.5tts/asr、cosyvoice-v2/v3前缀、fun-asr-realtime前缀;本行均未命中,无provider/local-whisper fallback。" - } - ], - "floorDecision": "没有实现/正式发布证据,不填猜测版本。候选展示保留,出站及自动路由禁止,适配验收后再解除。" - } - }, - "protocol": { - "state": "unsupported", - "reason": "missing-speech-profile-and-compatibility", - "apiFormat": "openai-completions", - "adapterId": "required-adapter:asr:local-whisper" + "sourceRecord": "compute/providers/local-whisper.json#whisper-large-v3" } } ], "metadata": { - "sourceFile": "compute/providers/local-whisper.json" + "sourceFile": "compute/providers/local-whisper.json", + "v1Connection": { + "credentialMode": "none" + } } }, { @@ -30178,6 +30334,62 @@ "sourceRecord": "compute/providers/openai.json#tts-1-hd" } }, + { + "apiModelId": "gpt-transcribe", + "modelRef": "openai:gpt-transcribe", + "binding": { + "kind": "exact", + "reason": "official-exact-model-identity" + }, + "overrides": {}, + "request": {}, + "billing": [ + { + "sourceKey": "extra.pricingNotes", + "amount": "OpenAI lists this model at $0.0045 per minute of transcription audio.", + "currency": "USD", + "unit": "annotation", + "verification": "officially-verified-access-contract" + } + ], + "lifecycle": { + "status": "active" + }, + "metadata": { + "attributes": { + "displayName": "GPT Transcribe", + "description": "OpenAI 推荐的录音转写模型,按音频分钟计费,接替将于 2027-02-26 停服的 Whisper" + }, + "recordedExtra": { + "supportedInputFormats": [ + "mp3", + "mp4", + "mpeg", + "mpga", + "m4a", + "wav", + "webm" + ], + "streamingSupported": true + }, + "projection": { + "modelKeys": [ + "modelName", + "displayName", + "serviceType", + "description", + "capabilities", + "extra" + ], + "extraKeys": [ + "supportedInputFormats", + "streamingSupported", + "pricingNotes" + ] + }, + "sourceRecord": "compute/providers/openai.json#gpt-transcribe" + } + }, { "apiModelId": "whisper-1", "modelRef": "openai:whisper-1", @@ -30203,7 +30415,7 @@ "metadata": { "attributes": { "displayName": "Whisper", - "description": "通用语音识别" + "description": "通用语音识别。OpenAI 已标记弃用,将于 2027-02-26 停服,新配置请选 GPT Transcribe" }, "recordedExtra": { "maxAudioLength": 600, diff --git a/compute/model-specs/_index.json b/compute/model-specs/_index.json index 6fc150a..48639ad 100644 --- a/compute/model-specs/_index.json +++ b/compute/model-specs/_index.json @@ -1,5 +1,5 @@ { - "description": "数据批次 134:新增 GPT-6.1 Terra、Claude Haiku 5.5、MiniMax M3.1 Flash 正式版、Kimi K3.1 Pro/Highspeed、Gemini 4 Argon、Mistral Large 4 的精确规格,保留原厂、订阅与 OpenRouter 合同差异;新型号未加入默认自动路由。 模型规格库加载顺序索引,以及智能路由三档的同域定义。模型级路由策略仅写入各 ModelSpec 的 routing 字段,不另建 smart-routing 目录。 数据批次 133:MiniMax M2.x 七个规格(M2.7、M2.5、M2.1 及各 highspeed、M2)的单次输出上限按 MiniMax 官网 Messages API 参数参考由 131072 更正为 204800,已下线的 M2-her 规格撤去与官网矛盾的窗口和输出数值,路由策略不变;此前批次 132:MiniMax-M3 规格的单次输出上限按 MiniMax 官网 Messages API 参数参考由 512000 更正为 524288,路由策略不变;此前批次 130:GLM-5.3 系列在 anthropic-messages 协议上按智谱官网以 thinking.type 与 output_config.effort 控制思考强度(protocolProfiles 声明 adaptive 形态),路由策略不变;此前批次 129 按官网补对话规格的 tool_use 标签,批次 126 为官方字段复核与临时、历史规格边界。 精确身份治理:隔离Nano/实时/固定变体,identity-only不继承family参数;发布批次由manifest统一标记。", + "description": "数据批次 135:语音识别预置可用化。新增 fun-asr-realtime、gpt-transcribe、whisper-large-v3 的精确规格并声明语音协议,whisper-1 标记 2027-02-26 停服;未加入默认自动路由。数据批次 134:新增 GPT-6.1 Terra、Claude Haiku 5.5、MiniMax M3.1 Flash 正式版、Kimi K3.1 Pro/Highspeed、Gemini 4 Argon、Mistral Large 4 的精确规格,保留原厂、订阅与 OpenRouter 合同差异;新型号未加入默认自动路由。 模型规格库加载顺序索引,以及智能路由三档的同域定义。模型级路由策略仅写入各 ModelSpec 的 routing 字段,不另建 smart-routing 目录。 数据批次 133:MiniMax M2.x 七个规格(M2.7、M2.5、M2.1 及各 highspeed、M2)的单次输出上限按 MiniMax 官网 Messages API 参数参考由 131072 更正为 204800,已下线的 M2-her 规格撤去与官网矛盾的窗口和输出数值,路由策略不变;此前批次 132:MiniMax-M3 规格的单次输出上限按 MiniMax 官网 Messages API 参数参考由 512000 更正为 524288,路由策略不变;此前批次 130:GLM-5.3 系列在 anthropic-messages 协议上按智谱官网以 thinking.type 与 output_config.effort 控制思考强度(protocolProfiles 声明 adaptive 形态),路由策略不变;此前批次 129 按官网补对话规格的 tool_use 标签,批次 126 为官方字段复核与临时、历史规格边界。 精确身份治理:隔离Nano/实时/固定变体,identity-only不继承family参数;发布批次由manifest统一标记。", "order": [ "anthropic", "openai", diff --git a/compute/model-specs/openai.json b/compute/model-specs/openai.json index a540c50..8ec72e2 100644 --- a/compute/model-specs/openai.json +++ b/compute/model-specs/openai.json @@ -873,6 +873,46 @@ "description": "OpenAI 高清语音合成" } }, + { + "displayName": "GPT Transcribe", + "family": "gpt-transcribe", + "match": { + "exact": [ + "gpt-transcribe" + ] + }, + "id": "gpt-transcribe", + "spec": { + "capabilities": [ + "asr", + "multilingual" + ], + "serviceType": [ + "asr" + ], + "description": "OpenAI 推荐的录音转写模型,支持多语言音频,自动识别语言", + "extra": { + "modelOrigin": { + "vendor": "openai", + "canonicalModelId": "gpt-transcribe", + "family": "gpt-transcribe" + }, + "speech": { + "protocol": "openai-audio-transcriptions", + "protocolVersion": "1", + "modes": [ + "batch" + ], + "inputFormats": [ + "webm", + "wav", + "mp3" + ], + "languageHints": false + } + } + } + }, { "displayName": "Whisper", "family": "whisper", @@ -893,6 +933,46 @@ "description": "OpenAI 通用语音识别" } }, + { + "displayName": "Whisper Large V3", + "family": "whisper-large-v3", + "match": { + "exact": [ + "whisper-large-v3" + ] + }, + "id": "whisper-large-v3", + "spec": { + "capabilities": [ + "asr", + "multilingual" + ], + "serviceType": [ + "asr" + ], + "description": "OpenAI 开放权重的 Whisper large-v3,需自行部署兼容 OpenAI 转写接口的服务", + "extra": { + "modelOrigin": { + "vendor": "openai", + "canonicalModelId": "whisper-large-v3", + "family": "whisper" + }, + "speech": { + "protocol": "openai-audio-transcriptions", + "protocolVersion": "1", + "modes": [ + "batch" + ], + "inputFormats": [ + "webm", + "wav", + "mp3" + ], + "languageHints": true + } + } + } + }, { "displayName": "o3-pro", "family": "o3", diff --git a/compute/model-specs/qwen.json b/compute/model-specs/qwen.json index e762947..a50da15 100644 --- a/compute/model-specs/qwen.json +++ b/compute/model-specs/qwen.json @@ -744,6 +744,52 @@ "description": "通义语音合成,支持中英文" } }, + { + "id": "fun-asr-realtime", + "displayName": "Fun-ASR Realtime", + "family": "fun-asr-realtime", + "match": { + "exact": [ + "fun-asr-realtime" + ] + }, + "spec": { + "capabilities": [ + "asr", + "chinese_optimized", + "multilingual" + ], + "serviceType": [ + "asr" + ], + "description": "通义 Fun-ASR 实时语音识别,WebSocket 流式转写", + "extra": { + "modelOrigin": { + "vendor": "alibaba", + "canonicalModelId": "fun-asr-realtime", + "family": "fun-asr-realtime" + }, + "speech": { + "protocol": "dashscope-websocket-asr", + "protocolVersion": "1", + "modes": [ + "batch", + "streaming" + ], + "inputFormats": [ + "webm", + "wav", + "pcm", + "mp3" + ], + "sampleRates": [ + 16000 + ], + "languageHints": true + } + } + } + }, { "id": "paraformer-v2", "displayName": "Paraformer V2", @@ -761,7 +807,7 @@ "serviceType": [ "asr" ], - "description": "通义语音识别" + "description": "通义录音文件异步转写,只接受公网可访问的音频 URL;客户端未适配" } }, { diff --git a/compute/providers/dashscope.json b/compute/providers/dashscope.json index 439a1b6..42e32f4 100644 --- a/compute/providers/dashscope.json +++ b/compute/providers/dashscope.json @@ -31,7 +31,8 @@ "qwen-plus", "qwen-turbo", "qwen3-max", - "qwen3-max-trans" + "qwen3-max-trans", + "paraformer-v2" ], "models": [ { @@ -459,25 +460,29 @@ } }, { - "modelName": "paraformer-v2", - "displayName": "Paraformer V2", + "modelName": "fun-asr-realtime", + "displayName": "Fun-ASR Realtime", "serviceType": [ "asr" ], - "description": "通义语音识别", + "description": "通义 Fun-ASR 实时语音识别,支持听写与音频文件转写", "capabilities": [ "asr", - "chinese_optimized" + "chinese_optimized", + "multilingual" ], "extra": { - "maxAudioLength": 3600, "supportedInputFormats": [ + "pcm", "wav", "mp3", - "pcm", - "ogg" + "opus", + "speex", + "aac", + "amr" ], - "streamingSupported": true + "streamingSupported": true, + "pricingNotes": "华北2(北京)按输入音频秒数计费 0.00033 元/秒,输出不计费。" } }, { diff --git a/compute/providers/local-whisper.json b/compute/providers/local-whisper.json index f8c58ad..c83f46e 100644 --- a/compute/providers/local-whisper.json +++ b/compute/providers/local-whisper.json @@ -12,6 +12,7 @@ "services": [ "asr" ], + "credentialMode": "none", "models": [ { "modelName": "whisper-large-v3", diff --git a/compute/providers/openai.json b/compute/providers/openai.json index 1e34dd7..5856845 100644 --- a/compute/providers/openai.json +++ b/compute/providers/openai.json @@ -998,13 +998,38 @@ ] } }, + { + "modelName": "gpt-transcribe", + "displayName": "GPT Transcribe", + "serviceType": [ + "asr" + ], + "description": "OpenAI 推荐的录音转写模型,按音频分钟计费,接替将于 2027-02-26 停服的 Whisper", + "capabilities": [ + "asr", + "multilingual" + ], + "extra": { + "supportedInputFormats": [ + "mp3", + "mp4", + "mpeg", + "mpga", + "m4a", + "wav", + "webm" + ], + "streamingSupported": true, + "pricingNotes": "OpenAI lists this model at $0.0045 per minute of transcription audio." + } + }, { "modelName": "whisper-1", "displayName": "Whisper", "serviceType": [ "asr" ], - "description": "通用语音识别", + "description": "通用语音识别。OpenAI 已标记弃用,将于 2027-02-26 停服,新配置请选 GPT Transcribe", "capabilities": [ "asr", "multilingual" diff --git a/compute/v2/catalog.json b/compute/v2/catalog.json index b50a55b..79afea2 100644 --- a/compute/v2/catalog.json +++ b/compute/v2/catalog.json @@ -5238,6 +5238,52 @@ "sourceFile": "compute/model-specs/openai.json" } }, + { + "modelRef": "openai:gpt-transcribe", + "identity": { + "vendor": "openai", + "canonicalModelId": "gpt-transcribe" + }, + "facts": { + "capabilities": [ + "asr", + "multilingual" + ], + "serviceType": [ + "asr" + ], + "description": "OpenAI 推荐的录音转写模型,支持多语言音频,自动识别语言", + "constraints": { + "modelOrigin": { + "vendor": "openai", + "canonicalModelId": "gpt-transcribe", + "family": "gpt-transcribe" + }, + "speech": { + "protocol": "openai-audio-transcriptions", + "protocolVersion": "1", + "modes": [ + "batch" + ], + "inputFormats": [ + "webm", + "wav", + "mp3" + ], + "languageHints": false + } + } + }, + "routing": {}, + "lifecycle": { + "status": "active", + "checkedAt": "2026-11-01" + }, + "metadata": { + "recordedExtra": {}, + "sourceFile": "compute/model-specs/openai.json" + } + }, { "modelRef": "openai:whisper-1", "identity": { @@ -5255,6 +5301,54 @@ "description": "OpenAI 通用语音识别" }, "routing": {}, + "lifecycle": { + "status": "deprecated", + "retiredAt": "2027-02-26", + "evidence": "https://developers.openai.com/api/docs/deprecations", + "checkedAt": "2026-11-01" + }, + "metadata": { + "recordedExtra": {}, + "sourceFile": "compute/model-specs/openai.json" + } + }, + { + "modelRef": "openai:whisper-large-v3", + "identity": { + "vendor": "openai", + "canonicalModelId": "whisper-large-v3" + }, + "facts": { + "capabilities": [ + "asr", + "multilingual" + ], + "serviceType": [ + "asr" + ], + "description": "OpenAI 开放权重的 Whisper large-v3,需自行部署兼容 OpenAI 转写接口的服务", + "constraints": { + "modelOrigin": { + "vendor": "openai", + "canonicalModelId": "whisper-large-v3", + "family": "whisper" + }, + "speech": { + "protocol": "openai-audio-transcriptions", + "protocolVersion": "1", + "modes": [ + "batch" + ], + "inputFormats": [ + "webm", + "wav", + "mp3" + ], + "languageHints": true + } + } + }, + "routing": {}, "lifecycle": { "status": "unknown" }, @@ -6819,6 +6913,58 @@ "sourceFile": "compute/model-specs/qwen.json" } }, + { + "modelRef": "qwen:fun-asr-realtime", + "identity": { + "vendor": "qwen", + "canonicalModelId": "fun-asr-realtime" + }, + "facts": { + "capabilities": [ + "asr", + "chinese_optimized", + "multilingual" + ], + "serviceType": [ + "asr" + ], + "description": "通义 Fun-ASR 实时语音识别,WebSocket 流式转写", + "constraints": { + "modelOrigin": { + "vendor": "alibaba", + "canonicalModelId": "fun-asr-realtime", + "family": "fun-asr-realtime" + }, + "speech": { + "protocol": "dashscope-websocket-asr", + "protocolVersion": "1", + "modes": [ + "batch", + "streaming" + ], + "inputFormats": [ + "webm", + "wav", + "pcm", + "mp3" + ], + "sampleRates": [ + 16000 + ], + "languageHints": true + } + } + }, + "routing": {}, + "lifecycle": { + "status": "active", + "checkedAt": "2026-11-01" + }, + "metadata": { + "recordedExtra": {}, + "sourceFile": "compute/model-specs/qwen.json" + } + }, { "modelRef": "qwen:paraformer-v2", "identity": { @@ -6833,7 +6979,7 @@ "serviceType": [ "asr" ], - "description": "通义语音识别" + "description": "通义录音文件异步转写,只接受公网可访问的音频 URL;客户端未适配" }, "routing": {}, "lifecycle": { @@ -12154,7 +12300,8 @@ "qwen-plus", "qwen-turbo", "qwen3-max", - "qwen3-max-trans" + "qwen3-max-trans", + "paraformer-v2" ] }, "models": [ @@ -13091,58 +13238,44 @@ } }, { - "apiModelId": "paraformer-v2", - "modelRef": "qwen:paraformer-v2", + "apiModelId": "fun-asr-realtime", + "modelRef": "qwen:fun-asr-realtime", "binding": { "kind": "exact", - "reason": "exact-id-or-declared-alias" + "reason": "official-exact-model-identity" }, "overrides": {}, "request": {}, - "billing": [], + "billing": [ + { + "sourceKey": "extra.pricingNotes", + "amount": "华北2(北京)按输入音频秒数计费 0.00033 元/秒,输出不计费。", + "currency": "CNY", + "unit": "annotation", + "verification": "officially-verified-access-contract" + } + ], "lifecycle": { - "status": "unknown" + "status": "active" }, "metadata": { "attributes": { - "displayName": "Paraformer V2", - "description": "通义语音识别" + "displayName": "Fun-ASR Realtime", + "description": "通义 Fun-ASR 实时语音识别,支持听写与音频文件转写" }, "recordedExtra": { - "maxAudioLength": 3600, "supportedInputFormats": [ + "pcm", "wav", "mp3", - "pcm", - "ogg" + "opus", + "speex", + "aac", + "amr" ], "streamingSupported": true }, - "sourceRecord": "compute/providers/dashscope.json#paraformer-v2", - "adapterReadiness": { - "checkedAt": "2026-10-03", - "evidence": [ - { - "path": "packages/agent-service/src/speech/asr-adapter.ts", - "assertion": "recognize/synthesize通过resolveSpeechCompute解析model profile与adapter,非直接按Provider.apiFormat发送。" - }, - { - "path": "packages/agent-service/src/speech/speech-resolver.ts", - "assertion": "resolveProfile仅显式modelOrigin/speech或兼容表;无profile且无兼容命中立即fail missing_model_profile。" - }, - { - "path": "packages/speech-core/src/model-compatibility.ts", - "assertion": "逐精确ID匹配:tts-1/hd、whisper-1、mimo-v2.5tts/asr、cosyvoice-v2/v3前缀、fun-asr-realtime前缀;本行均未命中,无provider/local-whisper fallback。" - } - ], - "floorDecision": "没有实现/正式发布证据,不填猜测版本。候选展示保留,出站及自动路由禁止,适配验收后再解除。" - } - }, - "protocol": { - "state": "unsupported", - "reason": "missing-speech-profile-and-compatibility", - "apiFormat": "openai-completions", - "adapterId": "required-adapter:asr:dashscope" + "sourceRecord": "compute/providers/dashscope.json#fun-asr-realtime" } }, { @@ -15539,30 +15672,12 @@ "models": [ { "apiModelId": "whisper-large-v3", - "modelRef": null, + "modelRef": "openai:whisper-large-v3", "binding": { - "kind": "access-local", - "reason": "本地开源安装与云whisper-1不是同一合同;保留本地安装识别,不继承云端接口/额度。" - }, - "overrides": { - "serviceType": { - "value": [ - "asr" - ], - "reason": "preserved-access-contract", - "evidence": "compute/providers/local-whisper.json#whisper-large-v3", - "verification": "inherited-not-reverified" - }, - "capabilities": { - "value": [ - "asr", - "multilingual" - ], - "reason": "preserved-access-contract", - "evidence": "compute/providers/local-whisper.json#whisper-large-v3", - "verification": "inherited-not-reverified" - } + "kind": "exact", + "reason": "本地部署的开放权重 large-v3 精确身份;不继承云端 whisper-1 的接口与额度。" }, + "overrides": {}, "request": {}, "billing": [], "lifecycle": { @@ -15584,32 +15699,7 @@ ], "streamingSupported": true }, - "sourceRecord": "compute/providers/local-whisper.json#whisper-large-v3", - "automaticRouting": false, - "adapterReadiness": { - "checkedAt": "2026-10-03", - "evidence": [ - { - "path": "packages/agent-service/src/speech/asr-adapter.ts", - "assertion": "recognize/synthesize通过resolveSpeechCompute解析model profile与adapter,非直接按Provider.apiFormat发送。" - }, - { - "path": "packages/agent-service/src/speech/speech-resolver.ts", - "assertion": "resolveProfile仅显式modelOrigin/speech或兼容表;无profile且无兼容命中立即fail missing_model_profile。" - }, - { - "path": "packages/speech-core/src/model-compatibility.ts", - "assertion": "逐精确ID匹配:tts-1/hd、whisper-1、mimo-v2.5tts/asr、cosyvoice-v2/v3前缀、fun-asr-realtime前缀;本行均未命中,无provider/local-whisper fallback。" - } - ], - "floorDecision": "没有实现/正式发布证据,不填猜测版本。候选展示保留,出站及自动路由禁止,适配验收后再解除。" - } - }, - "protocol": { - "state": "unsupported", - "reason": "missing-speech-profile-and-compatibility", - "apiFormat": "openai-completions", - "adapterId": "required-adapter:asr:local-whisper" + "sourceRecord": "compute/providers/local-whisper.json#whisper-large-v3" } } ], @@ -21351,6 +21441,47 @@ "sourceRecord": "compute/providers/openai.json#tts-1-hd" } }, + { + "apiModelId": "gpt-transcribe", + "modelRef": "openai:gpt-transcribe", + "binding": { + "kind": "exact", + "reason": "official-exact-model-identity" + }, + "overrides": {}, + "request": {}, + "billing": [ + { + "sourceKey": "extra.pricingNotes", + "amount": "OpenAI lists this model at $0.0045 per minute of transcription audio.", + "currency": "USD", + "unit": "annotation", + "verification": "officially-verified-access-contract" + } + ], + "lifecycle": { + "status": "active" + }, + "metadata": { + "attributes": { + "displayName": "GPT Transcribe", + "description": "OpenAI 推荐的录音转写模型,按音频分钟计费,接替将于 2027-02-26 停服的 Whisper" + }, + "recordedExtra": { + "supportedInputFormats": [ + "mp3", + "mp4", + "mpeg", + "mpga", + "m4a", + "wav", + "webm" + ], + "streamingSupported": true + }, + "sourceRecord": "compute/providers/openai.json#gpt-transcribe" + } + }, { "apiModelId": "whisper-1", "modelRef": "openai:whisper-1", @@ -21376,7 +21507,7 @@ "metadata": { "attributes": { "displayName": "Whisper", - "description": "通用语音识别" + "description": "通用语音识别。OpenAI 已标记弃用,将于 2027-02-26 停服,新配置请选 GPT Transcribe" }, "recordedExtra": { "maxAudioLength": 600, @@ -31500,5 +31631,5 @@ "authority": "catalog/v2/catalog.json", "verification": "migration-preserves-existing-evidence" }, - "digest": "193fc9bb6ebb7890044d59cf06d5ce01a61d7518731b26ee06d5696ed660f823" + "digest": "d007fc910cff2b732270071f0f803a1625c3800e5e98abe360e0334dc5a2d719" } diff --git a/compute/v2/compatibility/model-specs/openai.json b/compute/v2/compatibility/model-specs/openai.json index a540c50..8ec72e2 100644 --- a/compute/v2/compatibility/model-specs/openai.json +++ b/compute/v2/compatibility/model-specs/openai.json @@ -873,6 +873,46 @@ "description": "OpenAI 高清语音合成" } }, + { + "displayName": "GPT Transcribe", + "family": "gpt-transcribe", + "match": { + "exact": [ + "gpt-transcribe" + ] + }, + "id": "gpt-transcribe", + "spec": { + "capabilities": [ + "asr", + "multilingual" + ], + "serviceType": [ + "asr" + ], + "description": "OpenAI 推荐的录音转写模型,支持多语言音频,自动识别语言", + "extra": { + "modelOrigin": { + "vendor": "openai", + "canonicalModelId": "gpt-transcribe", + "family": "gpt-transcribe" + }, + "speech": { + "protocol": "openai-audio-transcriptions", + "protocolVersion": "1", + "modes": [ + "batch" + ], + "inputFormats": [ + "webm", + "wav", + "mp3" + ], + "languageHints": false + } + } + } + }, { "displayName": "Whisper", "family": "whisper", @@ -893,6 +933,46 @@ "description": "OpenAI 通用语音识别" } }, + { + "displayName": "Whisper Large V3", + "family": "whisper-large-v3", + "match": { + "exact": [ + "whisper-large-v3" + ] + }, + "id": "whisper-large-v3", + "spec": { + "capabilities": [ + "asr", + "multilingual" + ], + "serviceType": [ + "asr" + ], + "description": "OpenAI 开放权重的 Whisper large-v3,需自行部署兼容 OpenAI 转写接口的服务", + "extra": { + "modelOrigin": { + "vendor": "openai", + "canonicalModelId": "whisper-large-v3", + "family": "whisper" + }, + "speech": { + "protocol": "openai-audio-transcriptions", + "protocolVersion": "1", + "modes": [ + "batch" + ], + "inputFormats": [ + "webm", + "wav", + "mp3" + ], + "languageHints": true + } + } + } + }, { "displayName": "o3-pro", "family": "o3", diff --git a/compute/v2/compatibility/model-specs/qwen.json b/compute/v2/compatibility/model-specs/qwen.json index 36e31dd..b5354e2 100644 --- a/compute/v2/compatibility/model-specs/qwen.json +++ b/compute/v2/compatibility/model-specs/qwen.json @@ -744,6 +744,52 @@ "description": "通义语音合成,支持中英文" } }, + { + "displayName": "Fun-ASR Realtime", + "family": "fun-asr-realtime", + "match": { + "exact": [ + "fun-asr-realtime" + ] + }, + "id": "fun-asr-realtime", + "spec": { + "capabilities": [ + "asr", + "chinese_optimized", + "multilingual" + ], + "serviceType": [ + "asr" + ], + "description": "通义 Fun-ASR 实时语音识别,WebSocket 流式转写", + "extra": { + "modelOrigin": { + "vendor": "alibaba", + "canonicalModelId": "fun-asr-realtime", + "family": "fun-asr-realtime" + }, + "speech": { + "protocol": "dashscope-websocket-asr", + "protocolVersion": "1", + "modes": [ + "batch", + "streaming" + ], + "inputFormats": [ + "webm", + "wav", + "pcm", + "mp3" + ], + "sampleRates": [ + 16000 + ], + "languageHints": true + } + } + } + }, { "displayName": "Paraformer V2", "family": "paraformer", @@ -761,7 +807,7 @@ "serviceType": [ "asr" ], - "description": "通义语音识别" + "description": "通义录音文件异步转写,只接受公网可访问的音频 URL;客户端未适配" } }, { diff --git a/compute/v2/compatibility/providers/dashscope.json b/compute/v2/compatibility/providers/dashscope.json index 439a1b6..42e32f4 100644 --- a/compute/v2/compatibility/providers/dashscope.json +++ b/compute/v2/compatibility/providers/dashscope.json @@ -31,7 +31,8 @@ "qwen-plus", "qwen-turbo", "qwen3-max", - "qwen3-max-trans" + "qwen3-max-trans", + "paraformer-v2" ], "models": [ { @@ -459,25 +460,29 @@ } }, { - "modelName": "paraformer-v2", - "displayName": "Paraformer V2", + "modelName": "fun-asr-realtime", + "displayName": "Fun-ASR Realtime", "serviceType": [ "asr" ], - "description": "通义语音识别", + "description": "通义 Fun-ASR 实时语音识别,支持听写与音频文件转写", "capabilities": [ "asr", - "chinese_optimized" + "chinese_optimized", + "multilingual" ], "extra": { - "maxAudioLength": 3600, "supportedInputFormats": [ + "pcm", "wav", "mp3", - "pcm", - "ogg" + "opus", + "speex", + "aac", + "amr" ], - "streamingSupported": true + "streamingSupported": true, + "pricingNotes": "华北2(北京)按输入音频秒数计费 0.00033 元/秒,输出不计费。" } }, { diff --git a/compute/v2/compatibility/providers/local-whisper.json b/compute/v2/compatibility/providers/local-whisper.json index 981a2d9..44318ca 100644 --- a/compute/v2/compatibility/providers/local-whisper.json +++ b/compute/v2/compatibility/providers/local-whisper.json @@ -12,6 +12,7 @@ "services": [ "asr" ], + "credentialMode": "none", "models": [ { "modelName": "whisper-large-v3", diff --git a/compute/v2/compatibility/providers/openai.json b/compute/v2/compatibility/providers/openai.json index 1e34dd7..5856845 100644 --- a/compute/v2/compatibility/providers/openai.json +++ b/compute/v2/compatibility/providers/openai.json @@ -998,13 +998,38 @@ ] } }, + { + "modelName": "gpt-transcribe", + "displayName": "GPT Transcribe", + "serviceType": [ + "asr" + ], + "description": "OpenAI 推荐的录音转写模型,按音频分钟计费,接替将于 2027-02-26 停服的 Whisper", + "capabilities": [ + "asr", + "multilingual" + ], + "extra": { + "supportedInputFormats": [ + "mp3", + "mp4", + "mpeg", + "mpga", + "m4a", + "wav", + "webm" + ], + "streamingSupported": true, + "pricingNotes": "OpenAI lists this model at $0.0045 per minute of transcription audio." + } + }, { "modelName": "whisper-1", "displayName": "Whisper", "serviceType": [ "asr" ], - "description": "通用语音识别", + "description": "通用语音识别。OpenAI 已标记弃用,将于 2027-02-26 停服,新配置请选 GPT Transcribe", "capabilities": [ "asr", "multilingual" diff --git a/compute/v2/diagnostics.json b/compute/v2/diagnostics.json index b9b65b4..2d284a0 100644 --- a/compute/v2/diagnostics.json +++ b/compute/v2/diagnostics.json @@ -1,10 +1,10 @@ { - "specs": 293, + "specs": 296, "accesses": 40, - "models": 353, + "models": 354, "bindings": { - "exact": 317, - "access-local": 28, + "exact": 319, + "access-local": 27, "dynamic": 8 }, "overrides": [ @@ -967,29 +967,6 @@ "evidence": "compute/providers/google.json#gemini-2.5-flash", "verification": "inherited-not-reverified" }, - { - "accessId": "provider-local-whisper", - "apiModelId": "whisper-large-v3", - "field": "serviceType", - "value": [ - "asr" - ], - "reason": "preserved-access-contract", - "evidence": "compute/providers/local-whisper.json#whisper-large-v3", - "verification": "inherited-not-reverified" - }, - { - "accessId": "provider-local-whisper", - "apiModelId": "whisper-large-v3", - "field": "capabilities", - "value": [ - "asr", - "multilingual" - ], - "reason": "preserved-access-contract", - "evidence": "compute/providers/local-whisper.json#whisper-large-v3", - "verification": "inherited-not-reverified" - }, { "accessId": "provider-minimax-001", "apiModelId": "MiniMax-M3", diff --git a/compute/v2/manifest.json b/compute/v2/manifest.json index 6c1577f..22d9724 100644 --- a/compute/v2/manifest.json +++ b/compute/v2/manifest.json @@ -3,5 +3,5 @@ "state": "candidate", "requiredClientVersion": null, "catalogPath": "compute/v2/catalog.json", - "digest": "193fc9bb6ebb7890044d59cf06d5ce01a61d7518731b26ee06d5696ed660f823" + "digest": "d007fc910cff2b732270071f0f803a1625c3800e5e98abe360e0334dc5a2d719" } diff --git a/compute/v2/resolver-parity.json b/compute/v2/resolver-parity.json index e16c901..1228947 100644 --- a/compute/v2/resolver-parity.json +++ b/compute/v2/resolver-parity.json @@ -551,17 +551,15 @@ }, { "accessId": "provider-dashscope-001", - "apiModelId": "paraformer-v2", - "digest": "5fe3551cac44a875f05c5dd439c165c1e370357a283121b397f732a75b9a5788", - "selectable": false, + "apiModelId": "fun-asr-realtime", + "digest": "09980b568700d9412379dbf869b4c13543537b737a5c2d4e7a603d94473f3c72", + "selectable": true, "effectiveApiFormat": "openai-completions", - "effectiveApiModelId": "paraformer-v2", - "eligibleForCall": false, + "effectiveApiModelId": "fun-asr-realtime", + "eligibleForCall": true, "eligibleForAutoRouting": false, "manualOnly": false, - "blockedReasons": [ - "unsupported-adapter" - ] + "blockedReasons": [] }, { "accessId": "provider-dashscope-001", @@ -1034,16 +1032,14 @@ { "accessId": "provider-local-whisper", "apiModelId": "whisper-large-v3", - "digest": "dc06630edb515b69d9ed65f4b33c3c202b2f28788465167515af424afb0011f4", - "selectable": false, + "digest": "45e1772f6b1a118cd07ced3d40dbf5e55b2f0ba8dbf2033df8f6ef0e9e55e0a5", + "selectable": true, "effectiveApiFormat": "openai-completions", "effectiveApiModelId": "whisper-large-v3", - "eligibleForCall": false, + "eligibleForCall": true, "eligibleForAutoRouting": false, - "manualOnly": true, - "blockedReasons": [ - "unsupported-adapter" - ] + "manualOnly": false, + "blockedReasons": [] }, { "accessId": "provider-minimax-001", @@ -2139,10 +2135,22 @@ }, { "accessId": "provider-openai-001", - "apiModelId": "whisper-1", - "digest": "a8efca4c19c2a15cccf3323964338fef92863312ef70bfa0b9338a804f84b1ed", + "apiModelId": "gpt-transcribe", + "digest": "4be6831e5f1cc6f803926a66a6a217bd5f5bdbe5097ffa2eecfd692f0a62400d", "selectable": true, "effectiveApiFormat": "openai-completions", + "effectiveApiModelId": "gpt-transcribe", + "eligibleForCall": true, + "eligibleForAutoRouting": false, + "manualOnly": false, + "blockedReasons": [] + }, + { + "accessId": "provider-openai-001", + "apiModelId": "whisper-1", + "digest": "8101bee4fcffb5ecd86b89e2741bebff373052480f188efd50b6966efdf091e6", + "selectable": false, + "effectiveApiFormat": "openai-completions", "effectiveApiModelId": "whisper-1", "eligibleForCall": true, "eligibleForAutoRouting": false, diff --git a/docs/data-maintenance/CLIENT-DEPENDENCIES.md b/docs/data-maintenance/CLIENT-DEPENDENCIES.md index 70dd1f9..e74ea41 100644 --- a/docs/data-maintenance/CLIENT-DEPENDENCIES.md +++ b/docs/data-maintenance/CLIENT-DEPENDENCIES.md @@ -4,6 +4,16 @@ 本轮只修改 config-center。以下事项不因单模型官网字段已核或本仓校验通过而视为客户端已实现。 +## 语音识别(2026-11-01 批次 135) + +| 事项 | 本仓状态 | 实施步骤与验收条件 | +| --- | --- | --- | +| `credentialMode` 进 V2 连接 | 只写 V1 Provider 投影(`metadata.v1Connection`) | 客户端 `catalog-v2.schema.json` 的 connection 接受后铺开,再移入 `connection`,否则整份数据被拒收 | +| 本地 Whisper 无需凭据 | 数据已声明 `credentialMode: none` | 客户端语音解析要按凭据模式放行;未放行的版本报 `missing_credentials`,不再是 `missing_model_profile` | +| `gpt-transcribe` 语言提示 | 规格声明 `languageHints: false` | 协议 v1 只会发 `language`,官网要求改用 `languages`;客户端要按声明省略语言提示,是否被上游拒绝待账号实测 | +| `fun-asr-realtime` 自动语言 | 客户端在 auto 时发 `["zh","en"]` | 官网说明只取第一个值、不设置时自动识别;适配器改为 auto 不发送后,英文音频才真正自动识别 | +| 百炼业务空间域名与新加坡地域 | 适配器固定 `dashscope.aliyuncs.com` | 官网建议迁移专属域名;适配器要跟随配置的地域与域名 | + ## 原生协议接入 | 原厂/型号 | 本仓状态 | 实施步骤与验收条件 | diff --git a/docs/model-sources/README.md b/docs/model-sources/README.md index e503e93..c8fd827 100644 --- a/docs/model-sources/README.md +++ b/docs/model-sources/README.md @@ -20,11 +20,15 @@ providers// 新增 7 个精确原厂型号及对应 API、订阅、OpenRouter 条目,数据批次 134。原厂、套餐和托管限额分别记录;新型号保持手动选择。MiniMax Preview 的历史证据保留,旧套餐预置改用正式版。上面的结构迁移统计是历史快照,不因本批新增刷新旧条目的日期或核验状态。 +## 2026-11-01 语音识别批次 + +数据批次 135。百炼预置改用 `fun-asr-realtime`,`paraformer-v2` 移出接入面、规格保留;本地 Whisper 补独立规格与无需凭据声明;OpenAI 新增 `gpt-transcribe`,`whisper-1` 记录 2027-02-26 停服并暂留。协议声明是本仓适配选择,未做账号调用验收。 + ## 供应商 | 供应商 | 模型文件 | 接入面文件 | | --- | ---: | ---: | -| [阿里云百炼 / Qwen / Wan / HappyHorse](providers/alibaba/README.md) | 65 | 6 | +| [阿里云百炼 / Qwen / Wan / HappyHorse](providers/alibaba/README.md) | 66 | 6 | | [Anthropic](providers/anthropic/README.md) | 11 | 3 | | [百川](providers/baichuan/README.md) | 4 | 2 | | [百度千帆](providers/baidu/README.md) | 14 | 3 | @@ -40,7 +44,7 @@ providers// | [月之暗面 Kimi](providers/moonshot/README.md) | 14 | 3 | | [摩尔线程](providers/moorethread/README.md) | 1 | 1 | | [Ollama](providers/ollama/README.md) | 1 | 1 | -| [OpenAI](providers/openai/README.md) | 50 | 4 | +| [OpenAI](providers/openai/README.md) | 51 | 4 | | [OpenRouter](providers/openrouter/README.md) | 15 | 1 | | [Perplexity](providers/perplexity/README.md) | 3 | 2 | | [硅基流动](providers/siliconflow/README.md) | 3 | 1 | diff --git a/docs/model-sources/providers/alibaba/README.md b/docs/model-sources/providers/alibaba/README.md index 48d77dc..7656c53 100644 --- a/docs/model-sources/providers/alibaba/README.md +++ b/docs/model-sources/providers/alibaba/README.md @@ -2,7 +2,7 @@ [总索引](../../README.md) · [官网证据与边界](SOURCES.md) · [数据闭环核查](AUDIT.md) -本目录包含 65 个单模型文件、6 个单接入面文件。核验日期与状态来自迁移前记录。 +本目录包含 66 个单模型文件、6 个单接入面文件。核验日期与状态来自迁移前记录。 ## 接入面 @@ -33,6 +33,7 @@ - [`happyhorse-1.1-r2v`](models/happyhorse-1.1-r2v.md) - [`happyhorse-1.1-t2v`](models/happyhorse-1.1-t2v.md) - [`kimi-k2.5`](models/kimi-k2.5.md) +- [`fun-asr-realtime`](models/fun-asr-realtime.md) - [`paraformer-v2`](models/paraformer-v2.md) - [`qwen-image-2.0`](models/qwen-image-2.0.md) - [`qwen-image-2.0-pro`](models/qwen-image-2.0-pro.md) diff --git a/docs/model-sources/providers/alibaba/SOURCES.md b/docs/model-sources/providers/alibaba/SOURCES.md index 94281cc..30ad05d 100644 --- a/docs/model-sources/providers/alibaba/SOURCES.md +++ b/docs/model-sources/providers/alibaba/SOURCES.md @@ -78,6 +78,40 @@ Qwen3.7 Max 官网给出 1000000 上下文、131072 最大输出和北京 12/36 状态 `partial` 仅表示列出的字段已核实;不能推断整条配置、价格、账号权限或真实模型调用都已验收。`pending` 没有已核字段;`historical` 只作历史兼容参考。路由 tier/priority、产品标签和默认选择属于本仓策略,不伪装成官网数据。 +## 2026-11-01 语音识别核对 + +百炼文档 curl 可直接取到正文。只核对语音识别的模型 ID、接口形态、格式与计价,未进行账号调用。 + +### bailian-asr-realtime + +- 入口:[bailian-asr-realtime](https://help.aliyun.com/zh/model-studio/real-time-speech-recognition)。 +- 读取日期:2026-11-01;状态:`fetched`;最终地址:https://help.aliyun.com/zh/model-studio/real-time-speech-recognition-user-guide。 +- 适用范围:百炼实时语音识别用户指南;模型与地域列表、Fun-ASR-Realtime 音频格式。 + +### bailian-fun-asr-websocket + +- 入口:[bailian-fun-asr-websocket](https://help.aliyun.com/zh/model-studio/fun-asr-realtime-websocket-api)。 +- 读取日期:2026-11-01;状态:`fetched`;最终地址:https://help.aliyun.com/zh/model-studio/fun-asr-realtime-websocket-api。 +- 适用范围:Fun-ASR-Realtime WebSocket 接入指南;接口地址、鉴权头与交互流程。 + +### bailian-fun-asr-sdk + +- 入口:[bailian-fun-asr-sdk](https://help.aliyun.com/zh/model-studio/fun-asr-realtime-python-sdk)。 +- 读取日期:2026-11-01;状态:`fetched`;最终地址:https://help.aliyun.com/zh/model-studio/fun-asr-realtime-python-sdk。 +- 适用范围:Fun-ASR-Realtime 请求参数;采样率、音频格式与 language_hints(只取第一个值、不设置时自动识别)。 + +### bailian-asr-pricing + +- 入口:[bailian-asr-pricing](https://help.aliyun.com/zh/model-studio/model-pricing)。 +- 读取日期:2026-11-01;状态:`fetched`;最终地址:https://help.aliyun.com/zh/model-studio/model-pricing。 +- 适用范围:百炼模型价格页的语音识别段;Fun-ASR 与 Paraformer 按输入音频秒数计费,本轮只取北京 CNY。 + +### bailian-paraformer-file + +- 入口:[bailian-paraformer-file](https://help.aliyun.com/zh/model-studio/paraformer-recorded-speech-recognition-restful-api)。 +- 读取日期:2026-11-01;状态:`fetched`;最终地址:https://help.aliyun.com/zh/model-studio/paraformer-recorded-speech-recognition-restful-api。 +- 适用范围:Paraformer 录音文件识别 RESTful API;异步任务、只接受公网可访问的音频 URL。 + ```json { @@ -224,6 +258,56 @@ Qwen3.7 Max 官网给出 1000000 上下文、131072 最大输出和北京 12/36 "checkedAt": "2026-10-05", "contentSha256": "21bb14508f06ea365a249f572b652e6424dcc2055d3e49c55b4af2448d3fcec8", "resolvedUrl": "https://help.aliyun.com/zh/model-studio/coding-plan" + }, + { + "id": "bailian-asr-realtime", + "url": "https://help.aliyun.com/zh/model-studio/real-time-speech-recognition", + "kind": "official-doc", + "scope": "百炼实时语音识别用户指南;模型与地域列表、Fun-ASR-Realtime 音频格式", + "retrieval": "fetched", + "checkedAt": "2026-11-01", + "contentSha256": "3d606d4f0361071bf757461d4f635a810fb93b7aeec35765b1b6a485b1987796", + "resolvedUrl": "https://help.aliyun.com/zh/model-studio/real-time-speech-recognition-user-guide" + }, + { + "id": "bailian-fun-asr-websocket", + "url": "https://help.aliyun.com/zh/model-studio/fun-asr-realtime-websocket-api", + "kind": "official-doc", + "scope": "Fun-ASR-Realtime WebSocket 接入指南;接口地址、鉴权头与交互流程", + "retrieval": "fetched", + "checkedAt": "2026-11-01", + "contentSha256": "412d5aa5858aee8b83b8da08a0c852e22abc153e74cfc4d720a29c88e1a49fb2", + "resolvedUrl": "https://help.aliyun.com/zh/model-studio/fun-asr-realtime-websocket-api" + }, + { + "id": "bailian-fun-asr-sdk", + "url": "https://help.aliyun.com/zh/model-studio/fun-asr-realtime-python-sdk", + "kind": "official-doc", + "scope": "Fun-ASR-Realtime 请求参数;采样率、音频格式与 language_hints(只取第一个值、不设置时自动识别)", + "retrieval": "fetched", + "checkedAt": "2026-11-01", + "contentSha256": "d51db448e490360fae4a1c1adb3c19957716e483d49ab0dfcfcc8ca3013adcbe", + "resolvedUrl": "https://help.aliyun.com/zh/model-studio/fun-asr-realtime-python-sdk" + }, + { + "id": "bailian-asr-pricing", + "url": "https://help.aliyun.com/zh/model-studio/model-pricing", + "kind": "official-doc", + "scope": "百炼模型价格页的语音识别段;Fun-ASR 与 Paraformer 按输入音频秒数计费,本轮只取北京 CNY", + "retrieval": "fetched", + "checkedAt": "2026-11-01", + "contentSha256": "e0e5cdd162a303791035b629854b9962d24e70cbd1bd5f86c555953041ecc66e", + "resolvedUrl": "https://help.aliyun.com/zh/model-studio/model-pricing" + }, + { + "id": "bailian-paraformer-file", + "url": "https://help.aliyun.com/zh/model-studio/paraformer-recorded-speech-recognition-restful-api", + "kind": "official-doc", + "scope": "Paraformer 录音文件识别 RESTful API;异步任务、只接受公网可访问的音频 URL", + "retrieval": "fetched", + "checkedAt": "2026-11-01", + "contentSha256": "2a6007559deff1db97314b2914df8a3703413583f24222bf8c47f622385dea9c", + "resolvedUrl": "https://help.aliyun.com/zh/model-studio/paraformer-recorded-speech-recognition-restful-api" } ] } diff --git a/docs/model-sources/providers/alibaba/access/model-specs--qwen.md b/docs/model-sources/providers/alibaba/access/model-specs--qwen.md index cfdd96c..bb210a8 100644 --- a/docs/model-sources/providers/alibaba/access/model-specs--qwen.md +++ b/docs/model-sources/providers/alibaba/access/model-specs--qwen.md @@ -43,6 +43,7 @@ - [`text-embedding-v4`](../models/text-embedding-v4.md) - [`qwen3-rerank`](../models/qwen3-rerank.md) - [`cosyvoice-v2`](../models/cosyvoice-v2.md) +- [`fun-asr-realtime`](../models/fun-asr-realtime.md) - [`paraformer-v2`](../models/paraformer-v2.md) - [`wan2.7-image-pro`](../models/wan2.7-image-pro.md) - [`wan2.7-image`](../models/wan2.7-image.md) diff --git a/docs/model-sources/providers/alibaba/access/providers--dashscope.md b/docs/model-sources/providers/alibaba/access/providers--dashscope.md index 9b6a66d..19a98c1 100644 --- a/docs/model-sources/providers/alibaba/access/providers--dashscope.md +++ b/docs/model-sources/providers/alibaba/access/providers--dashscope.md @@ -16,7 +16,7 @@ 以上是配置快照,不能据此宣布该端点或账号已实际验收。核查地域、套餐支持、凭据来源及协议时,对照官网证据目录并记录结论。 - + ## 关联模型 @@ -38,7 +38,7 @@ - [`text-embedding-v4`](../models/text-embedding-v4.md) - [`qwen3-rerank`](../models/qwen3-rerank.md) - [`cosyvoice-v2`](../models/cosyvoice-v2.md) -- [`paraformer-v2`](../models/paraformer-v2.md) +- [`fun-asr-realtime`](../models/fun-asr-realtime.md) - [`wan2.7-image-pro`](../models/wan2.7-image-pro.md) - [`wan2.7-image`](../models/wan2.7-image.md) - [`wan2.6-t2i`](../models/wan2.6-t2i.md) diff --git a/docs/model-sources/providers/alibaba/models/fun-asr-realtime.md b/docs/model-sources/providers/alibaba/models/fun-asr-realtime.md new file mode 100644 index 0000000..6b4f1f4 --- /dev/null +++ b/docs/model-sources/providers/alibaba/models/fun-asr-realtime.md @@ -0,0 +1,134 @@ +# fun-asr-realtime:模型来源与接入记录 + +[供应商索引](../README.md) · [官网证据目录](../SOURCES.md) + +- 精确模型 ID:`fun-asr-realtime`(稳定版)。 +- 核验日期:2026-11-01;仅下表列出的字段取得官网证明,未进行账号调用。 + +## 接入合同与核验边界 + +官网列出 `fun-asr-realtime`(稳定版)与 `fun-asr-realtime-2026-02-28`(最新快照版),音频格式 pcm、wav、mp3、opus、speex、aac、amr。预置只收稳定版;带日期的快照由客户端兼容表按前缀放行。 + +`extra.speech` 是本仓协议声明,不是官网字段:协议名 `dashscope-websocket-asr` 对应客户端适配器。官网对该模型的采样率不设上限,`sampleRates` 收窄为 16000 是因为适配器按 16 kHz 推流;`inputFormats` 是官网格式与适配器的交集,其中 `webm` 由适配器按 opus 提交。 + +官网推荐迁移到业务空间专属域名,客户端适配器目前固定连接 `dashscope.aliyuncs.com`,新加坡地域需要另行适配。价格是华北2(北京)的 0.00033 元/秒,新加坡为 0.00066 元/秒,这里只记北京。 + +## 适用接入面 + +- [compute/providers/dashscope.json](../access/providers--dashscope.md) +- [compute/model-specs/qwen.json](../access/model-specs--qwen.md) + +## 字段级来源记录 + +### compute/providers/dashscope.json + +[查看配置](../../../../../compute/providers/dashscope.json) · [接入面说明](../access/providers--dashscope.md) + +当前配置详情(不是全部官网确认值;routing 是本仓策略): + + +```json +{ + "serviceType": [ + "asr" + ], + "capabilities": [ + "asr", + "chinese_optimized", + "multilingual" + ], + "extra": { + "supportedInputFormats": [ + "pcm", + "wav", + "mp3", + "opus", + "speex", + "aac", + "amr" + ], + "streamingSupported": true, + "pricingNotes": "华北2(北京)按输入音频秒数计费 0.00033 元/秒,输出不计费。" + } +} +``` + + + + +| 模型 ID | 上下文 / 输出 | 计价 | 已核字段→来源 | 来源入口 | 状态 | 数据指纹 | +| --- | --- | --- | --- | --- | --- | --- | +| `fun-asr-realtime` | 未声明 / 未声明 | CNY:未声明 / 未声明 | `modelName`→[bailian-asr-realtime](../SOURCES.md#bailian-asr-realtime)、`extra.supportedInputFormats`→[bailian-asr-realtime](../SOURCES.md#bailian-asr-realtime)、`extra.streamingSupported`→[bailian-asr-realtime](../SOURCES.md#bailian-asr-realtime)、`extra.pricingNotes`→[bailian-asr-pricing](../SOURCES.md#bailian-asr-pricing) | [bailian-asr-realtime](../SOURCES.md#bailian-asr-realtime)、[bailian-asr-pricing](../SOURCES.md#bailian-asr-pricing) | partial | `0566fb01bd4e9726c4a0b73cabd61ff1309bfcca5f4f45bd2e666d9593f84f0d` | + +### compute/model-specs/qwen.json + +[查看配置](../../../../../compute/model-specs/qwen.json) · [接入面说明](../access/model-specs--qwen.md) + +当前配置详情(不是全部官网确认值;routing 是本仓策略): + + +```json +{ + "spec": { + "capabilities": [ + "asr", + "chinese_optimized", + "multilingual" + ], + "serviceType": [ + "asr" + ], + "description": "通义 Fun-ASR 实时语音识别,WebSocket 流式转写", + "extra": { + "modelOrigin": { + "vendor": "alibaba", + "canonicalModelId": "fun-asr-realtime", + "family": "fun-asr-realtime" + }, + "speech": { + "protocol": "dashscope-websocket-asr", + "protocolVersion": "1", + "modes": [ + "batch", + "streaming" + ], + "inputFormats": [ + "webm", + "wav", + "pcm", + "mp3" + ], + "sampleRates": [ + 16000 + ], + "languageHints": true + } + } + } +} +``` + + + + +| 模型 ID | 上下文 / 输出 | 计价 | 已核字段→来源 | 来源入口 | 状态 | 数据指纹 | +| --- | --- | --- | --- | --- | --- | --- | +| `fun-asr-realtime` | 未声明 / 未声明 | 非计价主数据 | `id`→[bailian-asr-realtime](../SOURCES.md#bailian-asr-realtime)、`spec.serviceType`→[bailian-asr-realtime](../SOURCES.md#bailian-asr-realtime)、`spec.extra.speech.languageHints`→[bailian-fun-asr-sdk](../SOURCES.md#bailian-fun-asr-sdk) | [bailian-asr-realtime](../SOURCES.md#bailian-asr-realtime)、[bailian-fun-asr-websocket](../SOURCES.md#bailian-fun-asr-websocket)、[bailian-fun-asr-sdk](../SOURCES.md#bailian-fun-asr-sdk) | partial | `9f9699cc8eedda4f555b3460e5c6f50e4dee002b84c0592cb22c172774962d0d` | + +## 下次更新核查 + +- 对照官网核查精确 ID/别名、是否仍列出、音频格式、采样率与语言提示参数。 +- 按本接入面核对价格与地域;不能把其他平台参数直接复制。 +- 只更新真正复核的字段与引用来源;保留其余待核实项及历史记录。 +- 同步对应 canonical JSON、回归和模型指纹,再运行来源校验。 + + +```json +{ + "formatVersion": 1, + "supplier": "alibaba", + "checkedAt": "2026-11-01", + "sourceCatalog": "../SOURCES.md" +} +``` + diff --git a/docs/model-sources/providers/alibaba/models/paraformer-v2.md b/docs/model-sources/providers/alibaba/models/paraformer-v2.md index 58f7512..ee7f6fb 100644 --- a/docs/model-sources/providers/alibaba/models/paraformer-v2.md +++ b/docs/model-sources/providers/alibaba/models/paraformer-v2.md @@ -3,43 +3,20 @@ [供应商索引](../README.md) · [官网证据目录](../SOURCES.md) - 精确模型 ID:`paraformer-v2`。 -- 核验日期:2026-10-03;本次只迁移记录,没有重新核验或提高状态。 +- 核验日期:2026-11-01;核对接口形态后移出 dashscope 预置。 + +## 接入变更 + +官网的 `paraformer-v2` 是录音文件异步转写,提交公网可访问的音频 URL 后轮询结果,不接受二进制流或本地文件。客户端没有这条链路,预置条目一直报 `missing_model_profile`,所以 2026-11-01 从 `compute/providers/dashscope.json` 移除并写入 tombstones,由 `fun-asr-realtime` 提供识别。共享规格保留,模型本身仍在官网在售,只是没有接入面。 ## 适用接入面 -- [compute/providers/dashscope.json](../access/providers--dashscope.md) - [compute/model-specs/qwen.json](../access/model-specs--qwen.md) ## 字段级来源记录 各接入面分开记录;价格为 inputPrice/outputPrice 快照,具体单位和限制看配置及引用官网。partial 只确认已列字段,不代表全部参数、平台可用性或账号调用已验收。 -### compute/providers/dashscope.json - -[查看配置](../../../../../compute/providers/dashscope.json) · [接入面说明](../access/providers--dashscope.md) - -当前配置详情(不是全部官网确认值;routing 是本仓策略): - - -```json -{ - "serviceType": [ - "asr" - ], - "capabilities": [ - "asr", - "chinese_optimized" - ] -} -``` - - - - -| 模型 ID | 上下文 / 输出 | 计价 | 已核字段→来源 | 来源入口 | 状态 | 数据指纹 | -| --- | --- | --- | --- | --- | --- | --- | -| `paraformer-v2` | 未声明 / 未声明 | CNY:未声明 / 未声明 | `modelName`→[qwen-pricing](../SOURCES.md#qwen-pricing) | [qwen-pricing](../SOURCES.md#qwen-pricing) | partial | `ed64ce6df19898de8b5a81ccfe0ac703d0c2ede2ebd68f2260d1cd3160b3a32f` | - ### compute/model-specs/qwen.json [查看配置](../../../../../compute/model-specs/qwen.json) · [接入面说明](../access/model-specs--qwen.md) @@ -64,7 +41,7 @@ | 模型 ID | 上下文 / 输出 | 计价 | 已核字段→来源 | 来源入口 | 状态 | 数据指纹 | | --- | --- | --- | --- | --- | --- | --- | -| `paraformer-v2` | 未声明 / 未声明 | 非计价主数据 | `id`→[qwen-pricing](../SOURCES.md#qwen-pricing) | [qwen-pricing](../SOURCES.md#qwen-pricing) | partial | `4426a86b57495d9047ad1e5f3e8d66ef5c5bb1e9c2853c58eae5f98a8b572ed8` | +| `paraformer-v2` | 未声明 / 未声明 | 非计价主数据 | `id`→[qwen-pricing](../SOURCES.md#qwen-pricing)、`spec.description`→[bailian-paraformer-file](../SOURCES.md#bailian-paraformer-file) | [qwen-pricing](../SOURCES.md#qwen-pricing)、[bailian-paraformer-file](../SOURCES.md#bailian-paraformer-file) | partial | `a93b176f9cb10fdde768d50327e9ffa92c19ea2ce810f2765550019d805bfe5f` | ## 下次更新核查 @@ -79,7 +56,7 @@ { "formatVersion": 1, "supplier": "alibaba", - "checkedAt": "2026-10-03", + "checkedAt": "2026-11-01", "sourceCatalog": "../SOURCES.md" } ``` diff --git a/docs/model-sources/providers/openai/README.md b/docs/model-sources/providers/openai/README.md index e8f927b..2be9575 100644 --- a/docs/model-sources/providers/openai/README.md +++ b/docs/model-sources/providers/openai/README.md @@ -2,7 +2,7 @@ [总索引](../../README.md) · [官网证据与边界](SOURCES.md) · [数据闭环核查](AUDIT.md) -本目录包含 50 个单模型文件、4 个单接入面文件。核验日期与状态来自迁移前记录。 +本目录包含 51 个单模型文件、4 个单接入面文件。核验日期与状态来自迁移前记录。 ## 接入面 @@ -63,5 +63,6 @@ - [`text-embedding-3-small`](models/text-embedding-3-small.md) - [`tts-1`](models/tts-1.md) - [`tts-1-hd`](models/tts-1-hd.md) +- [`gpt-transcribe`](models/gpt-transcribe.md) - [`whisper-1`](models/whisper-1.md) - [`whisper-large-v3`](models/whisper-large-v3.md) diff --git a/docs/model-sources/providers/openai/SOURCES.md b/docs/model-sources/providers/openai/SOURCES.md index 282e1dd..30d2eb7 100644 --- a/docs/model-sources/providers/openai/SOURCES.md +++ b/docs/model-sources/providers/openai/SOURCES.md @@ -114,6 +114,34 @@ Terra 原厂 API 明确窗口 1050000、最大输入 922000、最大输出 12800 - 读取日期:2026-10-28;状态:`fetched`;最终地址:https://learn.chatgpt.com/docs/models.md。 - 适用范围:Work/Codex 官方型号目录;仅证明订阅产品列出 Terra,不证明订阅账号、独立窗口或每个推理档位。 +## 2026-11-01 语音转写核对 + +核对转写模型的弃用公告、新模型 ID、端点、格式、语言参数与计价,未进行收费 API 调用。同日重读官方仓库 [whisper](#whisper) 的 README:列出 `large-v3`,没有 `whisper-large-v3` 这个 ID,也不提供 HTTP 服务。 + +### openai-gpt-transcribe + +- 入口:[openai-gpt-transcribe](https://developers.openai.com/api/docs/models/gpt-transcribe.md)。 +- 读取日期:2026-11-01;状态:`fetched`;最终地址:https://developers.openai.com/api/docs/models/gpt-transcribe.md。 +- 适用范围:OpenAI API 原厂 gpt-transcribe 型号页;精确 ID、模态、端点支持与按音频分钟计价。 + +### openai-file-transcription + +- 入口:[openai-file-transcription](https://developers.openai.com/api/docs/guides/speech-to-text.md)。 +- 读取日期:2026-11-01;状态:`fetched`;最终地址:https://developers.openai.com/api/docs/guides/speech-to-text.md。 +- 适用范围:OpenAI 文件转写指南;推荐模型、输入格式、25 MB 上限、languages 取代 language、流式输出。 + +### openai-audio-transcriptions-api + +- 入口:[openai-audio-transcriptions-api](https://developers.openai.com/api/reference/resources/audio/subresources/transcriptions/methods/create.md)。 +- 读取日期:2026-11-01;状态:`fetched`;最终地址:https://developers.openai.com/api/reference/resources/audio/subresources/transcriptions/methods/create.md。 +- 适用范围:OpenAI Audio Transcriptions 请求与响应字段;language、languages、text。 + +### openai-transcription-deprecations + +- 入口:[openai-transcription-deprecations](https://developers.openai.com/api/docs/deprecations.md)。 +- 读取日期:2026-11-01;状态:`fetched`;最终地址:https://developers.openai.com/api/docs/deprecations.md。 +- 适用范围:OpenAI 弃用公告的 2026-08-26 转写模型段;whisper-1 等 2027-02-26 停服及推荐替代。 + ```json { @@ -310,6 +338,46 @@ Terra 原厂 API 明确窗口 1050000、最大输入 922000、最大输出 12800 "checkedAt": "2026-10-28", "contentSha256": "87a2915f285b10cafd7e5bc8875edd640d273fe63a4ec0cd13a62866e75828fb", "resolvedUrl": "https://learn.chatgpt.com/docs/models.md" + }, + { + "id": "openai-gpt-transcribe", + "url": "https://developers.openai.com/api/docs/models/gpt-transcribe.md", + "kind": "official-doc", + "scope": "OpenAI API 原厂 gpt-transcribe 型号页;精确 ID、模态、端点支持与按音频分钟计价", + "retrieval": "fetched", + "checkedAt": "2026-11-01", + "contentSha256": "b17461ab4c993823ab8eb6f12e44a7bec3f54ce34ddceb84ad52fb0048de01bb", + "resolvedUrl": "https://developers.openai.com/api/docs/models/gpt-transcribe.md" + }, + { + "id": "openai-file-transcription", + "url": "https://developers.openai.com/api/docs/guides/speech-to-text.md", + "kind": "official-doc", + "scope": "OpenAI 文件转写指南;推荐模型、输入格式、25 MB 上限、languages 取代 language、流式输出", + "retrieval": "fetched", + "checkedAt": "2026-11-01", + "contentSha256": "bffa0b8c1fca2ac545a311cb32f7ae082898853a1347700f149462119017e4bb", + "resolvedUrl": "https://developers.openai.com/api/docs/guides/speech-to-text.md" + }, + { + "id": "openai-audio-transcriptions-api", + "url": "https://developers.openai.com/api/reference/resources/audio/subresources/transcriptions/methods/create.md", + "kind": "official-doc", + "scope": "OpenAI Audio Transcriptions 请求与响应字段;language、languages、text", + "retrieval": "fetched", + "checkedAt": "2026-11-01", + "contentSha256": "a33a451c88abac5d50e63f24ba12011def2b4d834b6334d63b4350773c759f30", + "resolvedUrl": "https://developers.openai.com/api/reference/resources/audio/subresources/transcriptions/methods/create.md" + }, + { + "id": "openai-transcription-deprecations", + "url": "https://developers.openai.com/api/docs/deprecations.md", + "kind": "official-doc", + "scope": "OpenAI 弃用公告的 2026-08-26 转写模型段;whisper-1 等 2027-02-26 停服及推荐替代", + "retrieval": "fetched", + "checkedAt": "2026-11-01", + "contentSha256": "3fddf4c625d689e43e559c236bcdd675de8a3b3d035070ba205827d8ad0a2fc2", + "resolvedUrl": "https://developers.openai.com/api/docs/deprecations.md" } ] } diff --git a/docs/model-sources/providers/openai/access/model-specs--openai.md b/docs/model-sources/providers/openai/access/model-specs--openai.md index 8f15427..13e8c96 100644 --- a/docs/model-sources/providers/openai/access/model-specs--openai.md +++ b/docs/model-sources/providers/openai/access/model-specs--openai.md @@ -48,7 +48,9 @@ - [`text-embedding-3-large`](../models/text-embedding-3-large.md) - [`tts-1`](../models/tts-1.md) - [`tts-1-hd`](../models/tts-1-hd.md) +- [`gpt-transcribe`](../models/gpt-transcribe.md) - [`whisper-1`](../models/whisper-1.md) +- [`whisper-large-v3`](../models/whisper-large-v3.md) - [`o3-pro`](../models/o3-pro.md) - [`dall-e-3`](../models/dall-e-3.md) - [`gpt-4o-realtime`](../models/gpt-4o-realtime.md) diff --git a/docs/model-sources/providers/openai/access/providers--local-whisper.md b/docs/model-sources/providers/openai/access/providers--local-whisper.md index a3a5e4f..92698f0 100644 --- a/docs/model-sources/providers/openai/access/providers--local-whisper.md +++ b/docs/model-sources/providers/openai/access/providers--local-whisper.md @@ -12,11 +12,12 @@ - 端点:`http://localhost:8080`。 - 计价币种:`USD`。 - 访问模式:`普通 API`。 +- 凭据模式:`none`,本地服务无需密钥。这个字段只写入 V1 Provider 投影(目录作者数据的 `metadata.v1Connection`):已发布客户端的 V2 连接 Schema 不接受它,放进 `compute/v2` 会让整份配置中心数据被拒收。 以上是配置快照,不能据此宣布该端点或账号已实际验收。核查地域、套餐支持、凭据来源及协议时,对照官网证据目录并记录结论。 - + ## 关联模型 diff --git a/docs/model-sources/providers/openai/access/providers--openai.md b/docs/model-sources/providers/openai/access/providers--openai.md index 4dbd9fa..48fc521 100644 --- a/docs/model-sources/providers/openai/access/providers--openai.md +++ b/docs/model-sources/providers/openai/access/providers--openai.md @@ -54,6 +54,7 @@ - [`text-embedding-3-large`](../models/text-embedding-3-large.md) - [`tts-1`](../models/tts-1.md) - [`tts-1-hd`](../models/tts-1-hd.md) +- [`gpt-transcribe`](../models/gpt-transcribe.md) - [`whisper-1`](../models/whisper-1.md) - [`o3`](../models/o3.md) - [`o3-pro`](../models/o3-pro.md) diff --git a/docs/model-sources/providers/openai/models/gpt-transcribe.md b/docs/model-sources/providers/openai/models/gpt-transcribe.md new file mode 100644 index 0000000..7f556b9 --- /dev/null +++ b/docs/model-sources/providers/openai/models/gpt-transcribe.md @@ -0,0 +1,127 @@ +# gpt-transcribe:模型来源与接入记录 + +[供应商索引](../README.md) · [官网证据目录](../SOURCES.md) + +- 精确模型 ID:`gpt-transcribe`。 +- 核验日期:2026-11-01;仅下表列出的字段取得官网证明,未进行收费 API 调用。 + +## 接入合同与核验边界 + +官网把 `gpt-transcribe` 列为录音转写的推荐模型,`whisper-1`、`gpt-4o-transcribe`、`gpt-4o-mini-transcribe`、`gpt-4o-transcribe-diarize` 已标弃用,2027-02-26 停服。公告的另一个替代项 `gpt-live-transcribe` 面向实时转写,客户端没有对应协议,所以不预置。 + +`gpt-transcribe` 用 `languages` 数组取代单值 `language`(官网要求不要同时发送),不传语言时自动识别。客户端协议 `openai-audio-transcriptions@1` 只会发 `language`,所以规格声明 `languageHints: false`;是否因此拒绝 `language` 未经账号实测。 + +`extra.speech` 的协议名和 `inputFormats` 是本仓声明:格式取官网列表与客户端适配器的交集(webm、wav、mp3),`modes` 只写客户端实现的整段识别。官网支持的流式输出和 Realtime 转写,客户端都未接入。价格按音频时长 0.0045 美元/分钟,不是按 token,因此写在 `pricingNotes` 而不是 `inputPrice`。 + +## 适用接入面 + +- [compute/providers/openai.json](../access/providers--openai.md) +- [compute/model-specs/openai.json](../access/model-specs--openai.md) + +## 字段级来源记录 + +### compute/providers/openai.json + +[查看配置](../../../../../compute/providers/openai.json) · [接入面说明](../access/providers--openai.md) + +当前配置详情(不是全部官网确认值;routing 是本仓策略): + + +```json +{ + "serviceType": [ + "asr" + ], + "capabilities": [ + "asr", + "multilingual" + ], + "extra": { + "supportedInputFormats": [ + "mp3", + "mp4", + "mpeg", + "mpga", + "m4a", + "wav", + "webm" + ], + "streamingSupported": true, + "pricingNotes": "OpenAI lists this model at $0.0045 per minute of transcription audio." + } +} +``` + + + + +| 模型 ID | 上下文 / 输出 | 计价 | 已核字段→来源 | 来源入口 | 状态 | 数据指纹 | +| --- | --- | --- | --- | --- | --- | --- | +| `gpt-transcribe` | 未声明 / 未声明 | USD:未声明 / 未声明 | `modelName`→[openai-gpt-transcribe](../SOURCES.md#openai-gpt-transcribe)、`extra.supportedInputFormats`→[openai-file-transcription](../SOURCES.md#openai-file-transcription)、`extra.streamingSupported`→[openai-file-transcription](../SOURCES.md#openai-file-transcription)、`extra.pricingNotes`→[openai-gpt-transcribe](../SOURCES.md#openai-gpt-transcribe) | [openai-gpt-transcribe](../SOURCES.md#openai-gpt-transcribe)、[openai-file-transcription](../SOURCES.md#openai-file-transcription) | partial | `ac9eee87ae8991bc9e531ec224877a8a35ebadaf8c8b8087cbf72b273c67a9a5` | + +### compute/model-specs/openai.json + +[查看配置](../../../../../compute/model-specs/openai.json) · [接入面说明](../access/model-specs--openai.md) + +当前配置详情(不是全部官网确认值;routing 是本仓策略): + + +```json +{ + "spec": { + "capabilities": [ + "asr", + "multilingual" + ], + "serviceType": [ + "asr" + ], + "description": "OpenAI 推荐的录音转写模型,支持多语言音频,自动识别语言", + "extra": { + "modelOrigin": { + "vendor": "openai", + "canonicalModelId": "gpt-transcribe", + "family": "gpt-transcribe" + }, + "speech": { + "protocol": "openai-audio-transcriptions", + "protocolVersion": "1", + "modes": [ + "batch" + ], + "inputFormats": [ + "webm", + "wav", + "mp3" + ], + "languageHints": false + } + } + } +} +``` + + + + +| 模型 ID | 上下文 / 输出 | 计价 | 已核字段→来源 | 来源入口 | 状态 | 数据指纹 | +| --- | --- | --- | --- | --- | --- | --- | +| `gpt-transcribe` | 未声明 / 未声明 | 非计价主数据 | `id`→[openai-gpt-transcribe](../SOURCES.md#openai-gpt-transcribe)、`spec.serviceType`→[openai-gpt-transcribe](../SOURCES.md#openai-gpt-transcribe)、`spec.extra.speech.languageHints`→[openai-file-transcription](../SOURCES.md#openai-file-transcription) | [openai-gpt-transcribe](../SOURCES.md#openai-gpt-transcribe)、[openai-file-transcription](../SOURCES.md#openai-file-transcription)、[openai-audio-transcriptions-api](../SOURCES.md#openai-audio-transcriptions-api) | partial | `ba1582c3e64648f898b5dbe3e4561f2f676f47a36352a2a9e366ea3e8c172dc5` | + +## 下次更新核查 + +- 对照官网核查精确 ID/别名、是否仍列出、音频格式、采样率与语言提示参数。 +- 按本接入面核对价格与地域;不能把其他平台参数直接复制。 +- 只更新真正复核的字段与引用来源;保留其余待核实项及历史记录。 +- 同步对应 canonical JSON、回归和模型指纹,再运行来源校验。 + + +```json +{ + "formatVersion": 1, + "supplier": "openai", + "checkedAt": "2026-11-01", + "sourceCatalog": "../SOURCES.md" +} +``` + diff --git a/docs/model-sources/providers/openai/models/whisper-1.md b/docs/model-sources/providers/openai/models/whisper-1.md index 1b81d03..d3c0c85 100644 --- a/docs/model-sources/providers/openai/models/whisper-1.md +++ b/docs/model-sources/providers/openai/models/whisper-1.md @@ -3,7 +3,11 @@ [供应商索引](../README.md) · [官网证据目录](../SOURCES.md) - 精确模型 ID:`whisper-1`。 -- 核验日期:2026-10-03;本次只迁移记录,没有重新核验或提高状态。 +- 核验日期:2026-11-01;只核对弃用公告与精确 ID,其余字段仍是 2026-10-03 迁移记录。 + +## 生命周期 + +OpenAI 于 2026-08-26 公告弃用,2027-02-26 停服,推荐替代 `gpt-transcribe`(录音)或 `gpt-live-transcribe`(实时)。预置暂留到停服,已选用的配置不受影响,描述提示新配置改选 `gpt-transcribe`;停服日写在共享规格的执行性 `lifecycle.retiredAt`。 ## 适用接入面 @@ -39,7 +43,7 @@ | 模型 ID | 上下文 / 输出 | 计价 | 已核字段→来源 | 来源入口 | 状态 | 数据指纹 | | --- | --- | --- | --- | --- | --- | --- | -| `whisper-1` | 未声明 / 未声明 | USD:0.006 / 未声明 | 待核实 | [openai-models](../SOURCES.md#openai-models) | pending | `50b3aee5e7487a50beb562a148359b6524ac60bf3415aea7de532885c1b138f1` | +| `whisper-1` | 未声明 / 未声明 | USD:0.006 / 未声明 | `modelName`→[openai-transcription-deprecations](../SOURCES.md#openai-transcription-deprecations) | [openai-models](../SOURCES.md#openai-models)、[openai-transcription-deprecations](../SOURCES.md#openai-transcription-deprecations) | partial | `088897fdf9a87ec58b7481546a9486ade032423cace8812d16a4791bab63ac97` | ### compute/model-specs/openai.json @@ -65,7 +69,7 @@ | 模型 ID | 上下文 / 输出 | 计价 | 已核字段→来源 | 来源入口 | 状态 | 数据指纹 | | --- | --- | --- | --- | --- | --- | --- | -| `whisper-1` | 未声明 / 未声明 | 非计价主数据 | 待核实 | [openai-models](../SOURCES.md#openai-models) | pending | `1dee3ac7f8e5ba204e6d9f570802686666143bd596c6b8a0ddccec1b53f80b85` | +| `whisper-1` | 未声明 / 未声明 | 非计价主数据 | `id`→[openai-transcription-deprecations](../SOURCES.md#openai-transcription-deprecations) | [openai-models](../SOURCES.md#openai-models)、[openai-transcription-deprecations](../SOURCES.md#openai-transcription-deprecations) | partial | `1dee3ac7f8e5ba204e6d9f570802686666143bd596c6b8a0ddccec1b53f80b85` | ## 下次更新核查 @@ -80,7 +84,7 @@ { "formatVersion": 1, "supplier": "openai", - "checkedAt": "2026-10-03", + "checkedAt": "2026-11-01", "sourceCatalog": "../SOURCES.md" } ``` diff --git a/docs/model-sources/providers/openai/models/whisper-large-v3.md b/docs/model-sources/providers/openai/models/whisper-large-v3.md index 3cab4cd..54dc234 100644 --- a/docs/model-sources/providers/openai/models/whisper-large-v3.md +++ b/docs/model-sources/providers/openai/models/whisper-large-v3.md @@ -3,11 +3,18 @@ [供应商索引](../README.md) · [官网证据目录](../SOURCES.md) - 精确模型 ID:`whisper-large-v3`。 -- 核验日期:2026-10-03;本次只迁移记录,没有重新核验或提高状态。 +- 核验日期:2026-11-01;只新增共享规格段,字段状态未提高。 + +## 接入合同与核验边界 + +官方仓库 [whisper](../SOURCES.md#whisper) 的 README 列出 `large-v3`,没有 `whisper-large-v3` 这个模型 ID,也不提供 HTTP 服务。这个 ID 是本地部署服务常用的命名,因此两行都保持 pending。 + +`extra.speech` 是本仓适配选择:要求本地服务暴露与 OpenAI 兼容的 `/v1/audio/transcriptions`。规格只描述这个开放权重型号,不继承云端 `whisper-1` 的接口、额度和停服日。Provider 声明 `credentialMode: none`,本地服务无需密钥。 ## 适用接入面 - [compute/providers/local-whisper.json](../access/providers--local-whisper.md) +- [compute/model-specs/openai.json](../access/model-specs--openai.md) ## 字段级来源记录 @@ -39,6 +46,55 @@ | --- | --- | --- | --- | --- | --- | --- | | `whisper-large-v3` | 未声明 / 未声明 | USD:未声明 / 未声明 | 待核实 | [openai-models](../SOURCES.md#openai-models) | pending | `f70d5b2a9f32872c27eb812a004a8d7f273b3bfaa466a907fd71ba824b2a4722` | +### compute/model-specs/openai.json + +[查看配置](../../../../../compute/model-specs/openai.json) · [接入面说明](../access/model-specs--openai.md) + +当前配置详情(不是全部官网确认值;routing 是本仓策略): + + +```json +{ + "spec": { + "capabilities": [ + "asr", + "multilingual" + ], + "serviceType": [ + "asr" + ], + "description": "OpenAI 开放权重的 Whisper large-v3,需自行部署兼容 OpenAI 转写接口的服务", + "extra": { + "modelOrigin": { + "vendor": "openai", + "canonicalModelId": "whisper-large-v3", + "family": "whisper" + }, + "speech": { + "protocol": "openai-audio-transcriptions", + "protocolVersion": "1", + "modes": [ + "batch" + ], + "inputFormats": [ + "webm", + "wav", + "mp3" + ], + "languageHints": true + } + } + } +} +``` + + + + +| 模型 ID | 上下文 / 输出 | 计价 | 已核字段→来源 | 来源入口 | 状态 | 数据指纹 | +| --- | --- | --- | --- | --- | --- | --- | +| `whisper-large-v3` | 未声明 / 未声明 | 非计价主数据 | 待核实 | [whisper](../SOURCES.md#whisper) | pending | `2f1ad1b4c9ece4b077b92ba396cfa6b63eff648b82c2d69d4b68826e8840df42` | + ## 下次更新核查 - 对照官网核查精确 ID/别名、是否仍列出、上下文/输入/输出限制及单位。 @@ -52,7 +108,7 @@ { "formatVersion": 1, "supplier": "openai", - "checkedAt": "2026-10-03", + "checkedAt": "2026-11-01", "sourceCatalog": "../SOURCES.md" } ``` diff --git a/docs/plans/catalog-contract-migration/ADAPTER-DECISIONS.json b/docs/plans/catalog-contract-migration/ADAPTER-DECISIONS.json index 2430123..455a96c 100644 --- a/docs/plans/catalog-contract-migration/ADAPTER-DECISIONS.json +++ b/docs/plans/catalog-contract-migration/ADAPTER-DECISIONS.json @@ -4,8 +4,8 @@ "counts": { "realtimeUnsupported": 3, "mediaUnsupported": 21, - "speechUnsupported": 12, - "total": 36 + "speechUnsupported": 10, + "total": 34 }, "supportedDispatch": { "imageGenProviderSlugs": [ @@ -91,38 +91,6 @@ } ] }, - { - "file": "compute/providers/dashscope.json", - "providerId": "provider-dashscope-001", - "provider": "dashscope", - "apiModelId": "paraformer-v2", - "services": [ - "asr" - ], - "apiFormat": "openai-completions", - "protocol": { - "state": "unsupported", - "reason": "missing-speech-profile-and-compatibility" - }, - "minimumClientVersion": null, - "floorDecision": "没有实现/正式发布证据,不填猜测版本。候选展示保留,出站及自动路由禁止,适配验收后再解除。", - "confidence": "confirmed-source-dispatch", - "clientWorkspace": "/Users/wangyi/.codex/worktrees/catalog-contract-client/desirecore", - "evidence": [ - { - "path": "packages/agent-service/src/speech/asr-adapter.ts", - "assertion": "recognize/synthesize通过resolveSpeechCompute解析model profile与adapter,非直接按Provider.apiFormat发送。" - }, - { - "path": "packages/agent-service/src/speech/speech-resolver.ts", - "assertion": "resolveProfile仅显式modelOrigin/speech或兼容表;无profile且无兼容命中立即fail missing_model_profile。" - }, - { - "path": "packages/speech-core/src/model-compatibility.ts", - "assertion": "逐精确ID匹配:tts-1/hd、whisper-1、mimo-v2.5tts/asr、cosyvoice-v2/v3前缀、fun-asr-realtime前缀;本行均未命中,无provider/local-whisper fallback。" - } - ] - }, { "file": "compute/providers/dashscope.json", "providerId": "provider-dashscope-001", @@ -471,38 +439,6 @@ } ] }, - { - "file": "compute/providers/local-whisper.json", - "providerId": "provider-local-whisper", - "provider": "local-whisper", - "apiModelId": "whisper-large-v3", - "services": [ - "asr" - ], - "apiFormat": "openai-completions", - "protocol": { - "state": "unsupported", - "reason": "missing-speech-profile-and-compatibility" - }, - "minimumClientVersion": null, - "floorDecision": "没有实现/正式发布证据,不填猜测版本。候选展示保留,出站及自动路由禁止,适配验收后再解除。", - "confidence": "confirmed-source-dispatch", - "clientWorkspace": "/Users/wangyi/.codex/worktrees/catalog-contract-client/desirecore", - "evidence": [ - { - "path": "packages/agent-service/src/speech/asr-adapter.ts", - "assertion": "recognize/synthesize通过resolveSpeechCompute解析model profile与adapter,非直接按Provider.apiFormat发送。" - }, - { - "path": "packages/agent-service/src/speech/speech-resolver.ts", - "assertion": "resolveProfile仅显式modelOrigin/speech或兼容表;无profile且无兼容命中立即fail missing_model_profile。" - }, - { - "path": "packages/speech-core/src/model-compatibility.ts", - "assertion": "逐精确ID匹配:tts-1/hd、whisper-1、mimo-v2.5tts/asr、cosyvoice-v2/v3前缀、fun-asr-realtime前缀;本行均未命中,无provider/local-whisper fallback。" - } - ] - }, { "file": "compute/providers/minimax.json", "providerId": "provider-minimax-001", diff --git a/docs/plans/catalog-contract-migration/ADAPTER-DECISIONS.md b/docs/plans/catalog-contract-migration/ADAPTER-DECISIONS.md index 6c13d1c..80ee18d 100644 --- a/docs/plans/catalog-contract-migration/ADAPTER-DECISIONS.md +++ b/docs/plans/catalog-contract-migration/ADAPTER-DECISIONS.md @@ -4,6 +4,7 @@ openai-responses/openai-completions只声明通用对话协议。Realtime WebSocket/实时翻译、原生图像/视频任务、批量ASR/TTS各有不同endpoint、请求/响应和流式状态机;同域/Bearer认证或同名apiFormat不证明模型协议适配。 +- 2026-11-01 解除两条ASR:`whisper-large-v3` 补精确规格与语音协议;dashscope 的 `paraformer-v2` 只有公网URL异步转写,移出接入面,由 `fun-asr-realtime` 替换。下文的 12 条与数量是 2026-10-03 核查时的记录,当前清单以 JSON 为准(共 34 条,其中 ASR/TTS 10 条)。 - 3条Realtime、21条媒体和12条ASR/TTS接入确认当前没有对应注册适配器,保留候选信息,标记protocol unsupported;不猜最低版本。 - 图像/视频工具在findProvider后按实际provider slug查getAdapter,undefined立即返回失败,没有通用Provider.apiFormat兜底。 - Speech Registry仅TTS/ASR;OpenAI兼容表只tts-1/tts-1-hd/whisper-1,三个Realtime型号既不在兼容表,也无独立session/WebSocket/翻译实现。 @@ -13,7 +14,6 @@ openai-responses/openai-completions只声明通用对话协议。Realtime WebSoc | --- | --- | --- | | `compute/providers/dashscope.json` | `qwen-image-3.0` | no-registered-image_gen-provider-adapter | | `compute/providers/dashscope.json` | `qwen-image-3.0-pro` | no-registered-image_gen-provider-adapter | -| `compute/providers/dashscope.json` | `paraformer-v2` | missing-speech-profile-and-compatibility | | `compute/providers/dashscope.json` | `wan2.7-image-pro` | no-registered-image_gen-provider-adapter | | `compute/providers/dashscope.json` | `wan2.7-image` | no-registered-image_gen-provider-adapter | | `compute/providers/dashscope.json` | `wan2.6-t2i` | no-registered-image_gen-provider-adapter | @@ -26,7 +26,6 @@ openai-responses/openai-completions只声明通用对话协议。Realtime WebSoc | `compute/providers/kling.json` | `kling-v2-5-turbo-pro` | no-registered-video_gen-provider-adapter | | `compute/providers/kling.json` | `kling-v2` | no-registered-video_gen-provider-adapter | | `compute/providers/kling.json` | `kling-v2-master` | no-registered-video_gen-provider-adapter | -| `compute/providers/local-whisper.json` | `whisper-large-v3` | missing-speech-profile-and-compatibility | | `compute/providers/minimax.json` | `speech-2.8-hd` | missing-speech-profile-and-compatibility | | `compute/providers/minimax.json` | `speech-2.8-turbo` | missing-speech-profile-and-compatibility | | `compute/providers/minimax.json` | `speech-2.6-hd` | missing-speech-profile-and-compatibility | diff --git a/docs/plans/catalog-contract-migration/SPEC-DECISIONS.json b/docs/plans/catalog-contract-migration/SPEC-DECISIONS.json index 4f1fa0b..a4676d0 100644 --- a/docs/plans/catalog-contract-migration/SPEC-DECISIONS.json +++ b/docs/plans/catalog-contract-migration/SPEC-DECISIONS.json @@ -11,7 +11,7 @@ "currentCounts": { "records": 336, "none": 14, - "family": 5, + "family": 4, "numericalDifferences": 41 }, "bindings": [ @@ -99,9 +99,9 @@ "file": "compute/providers/local-whisper.json", "id": "whisper-large-v3", "originalMatch": "family", - "currentMatch": "family", - "currentSpec": "whisper-1", - "decision": "access-local-no-inheritance" + "currentMatch": "exact", + "currentSpec": "whisper-large-v3", + "decision": "exact-open-weight-spec" }, { "file": "compute/providers/ollama.json", @@ -325,20 +325,6 @@ "decision": "retain-access-values", "reason": "当前未定位足够的原厂精确型号证据;保留既有接入局部字段,不从family继承参数、能力或路由。" }, - { - "file": "compute/providers/local-whisper.json", - "id": "whisper-large-v3", - "match": "family", - "spec": "whisper-1", - "specFile": "compute/model-specs/openai.json", - "diff": [], - "classification": "unverified-access-local", - "effectiveBinding": null, - "inheritFamily": false, - "automaticRouting": false, - "decision": "retain-access-values", - "reason": "当前未定位足够的原厂精确型号证据;保留既有接入局部字段,不从family继承参数、能力或路由。" - }, { "file": "compute/providers/ollama.json", "id": "llama3.1:70b", @@ -2192,6 +2178,15 @@ "decision": "retain-spec-without-new-access", "reason": "原入口已下架;历史身份映射证据不足,保留兼容记录而不重新上架或扩大路由。", "newAutomaticRouting": false + }, + { + "file": "compute/model-specs/qwen.json", + "id": "paraformer-v2", + "hasRouting": false, + "classification": "dynamic-directory-candidate", + "decision": "retain-spec-without-new-access", + "reason": "官网仍在售的录音文件异步转写模型,只接受公网 URL,客户端未适配;2026-11-01 移出 dashscope 预置并写入 tombstones,保留规格用于精确匹配。", + "newAutomaticRouting": false } ], "verifiedLimits": [ @@ -2323,17 +2318,6 @@ "inheritFamily": false, "effectiveBinding": null }, - { - "file": "compute/providers/local-whisper.json", - "providerId": "provider-local-whisper", - "apiModelId": "whisper-large-v3", - "kind": "access-local", - "bindingKind": "access-local", - "reason": "本地开源安装与云whisper-1不是同一合同;保留本地安装识别,不继承云端接口/额度。", - "automaticRouting": false, - "inheritFamily": false, - "effectiveBinding": null - }, { "file": "compute/providers/moonshot.json", "providerId": "provider-moonshot-001", diff --git a/docs/plans/catalog-contract-migration/SPEC-DECISIONS.md b/docs/plans/catalog-contract-migration/SPEC-DECISIONS.md index 7768630..2a37b50 100644 --- a/docs/plans/catalog-contract-migration/SPEC-DECISIONS.md +++ b/docs/plans/catalog-contract-migration/SPEC-DECISIONS.md @@ -4,6 +4,8 @@ 2026-10-28 批次 134 增加 7 个精确型号及 18 条接入,MiniMax 套餐的旧 Preview 预置移除并 tombstone、旧规格仅作历史解析;当前 293 条规格、353 条接入。以下原有绑定例外、差异和机器清单仍记录原迁移范围,不因新增型号而回写历史计数或提高核验等级。新增型号均使用显式精确绑定;Kimi Code 的短 ID 不添加全局规格别名,未知订阅输出保持 null;Mistral 原厂未取得明文整数的窗口和输出保持 unknown;OpenRouter 的独立限额以本批官方目录为依据。详见 [来源目录](../../model-sources/README.md)。 +2026-11-01 批次 135 增加 `fun-asr-realtime`、`gpt-transcribe`、`whisper-large-v3` 精确规格;`whisper-large-v3` 不再是 access-local 例外,绑定独立规格、不继承云端 `whisper-1`;`paraformer-v2` 移出 dashscope 并 tombstone,转为规格独有。当前 296 条规格、354 条接入。 + - 340条接入重新用正式tag真实匹配器核对;当前14 none、5 family、41条数值差异(2026-10-18 MiniMax-M3 直连/套餐两条按官网上限消除,原为43条)。同日 MiniMax 直连移除官网已下线的 M2.1、M2.1-highspeed、M2、M2-her 并写入 tombstones,当前接入记录为336条;M2.x 七个规格输出上限按官网更正为204800,百炼两套餐 MiniMax-M2.5 的8192覆盖仍属未核差异,差异条数不变。 - Nano和Pro独立精确规格;删除基础GPT-5.4宽泛pattern,实时三型号补官方窗口/输出。 - Coding Plan官方正文确认qwen3-coder-plus/next ID,仅加identity-only精确规格,无参数/路由授权。 @@ -25,7 +27,7 @@ | `compute/providers/moonshot.json` | `moonshot-v1-128k-vision-preview` | family → family | access-local-no-inheritance | | `compute/providers/zhipu.json` | `glm-4.7-flashx` | family → family | access-local-no-inheritance | | `compute/providers/siliconflow.json` | `BAAI/bge-m3` | none → none | access-local-no-inheritance | -| `compute/providers/local-whisper.json` | `whisper-large-v3` | family → family | access-local-no-inheritance | +| `compute/providers/local-whisper.json` | `whisper-large-v3` | family → exact | exact-open-weight-spec | | `compute/providers/ollama.json` | `llama3.1:70b` | none → none | access-local-no-inheritance | | `compute/providers/xai.json` | `grok-build-0.1` | none → none | access-local-no-inheritance | | `compute/providers/openrouter.json` | `cohere/command-a-plus` | none → none | access-local-no-inheritance | diff --git a/docs/source-gaps/README.md b/docs/source-gaps/README.md index 4d8abbb..3e9cb4e 100644 --- a/docs/source-gaps/README.md +++ b/docs/source-gaps/README.md @@ -6,16 +6,16 @@ - 未登记官方入口:**0 条**。 - 未取得可读官网证据:**86 条**。 -- 入口有读取记录,但本条模型无字段证明:**185 条**。 +- 入口有读取记录,但本条模型无字段证明:**184 条**。 - 仅确认 ID,参数来源未登记:**212 条**。 -- 已有部分参数证明,仍需区分未证明字段:**162 条**。 +- 已有部分参数证明,仍需区分未证明字段:**167 条**。 - 历史身份/参数不证明当前可用性:**1 条**。 -总计 646 条:前四类需要补证;partial 类逐条列出已有数据中尚未登记证明的关键字段,不能全部当作数据已核;historical 另列。 +总计 650 条:前四类需要补证;partial 类逐条列出已有数据中尚未登记证明的关键字段,不能全部当作数据已核;historical 另列。 | 供应商清单 | 未登记入口 | 入口不可读 | 无字段证明 | 仅 ID | 参数部分已核 | 历史 | | --- | --- | --- | --- | --- | --- | --- | -| [alibaba](providers/alibaba.md) | 0 | 0 | 15 | 98 | 7 | 0 | +| [alibaba](providers/alibaba.md) | 0 | 0 | 15 | 96 | 10 | 0 | | [anthropic](providers/anthropic.md) | 0 | 0 | 6 | 3 | 15 | 0 | | [baichuan](providers/baichuan.md) | 0 | 8 | 0 | 0 | 0 | 0 | | [baidu](providers/baidu.md) | 0 | 0 | 5 | 13 | 2 | 0 | @@ -31,7 +31,7 @@ | [moonshot](providers/moonshot.md) | 0 | 0 | 14 | 0 | 13 | 0 | | [moorethread](providers/moorethread.md) | 0 | 1 | 0 | 0 | 0 | 0 | | [ollama](providers/ollama.md) | 0 | 0 | 1 | 0 | 0 | 0 | -| [openai](providers/openai.md) | 0 | 0 | 71 | 11 | 19 | 0 | +| [openai](providers/openai.md) | 0 | 0 | 70 | 13 | 21 | 0 | | [openrouter](providers/openrouter.md) | 0 | 0 | 0 | 0 | 21 | 0 | | [perplexity](providers/perplexity.md) | 0 | 0 | 4 | 2 | 0 | 0 | | [siliconflow](providers/siliconflow.md) | 0 | 0 | 3 | 0 | 0 | 0 | diff --git a/docs/source-gaps/providers/alibaba.md b/docs/source-gaps/providers/alibaba.md index 54b75ad..55eea46 100644 --- a/docs/source-gaps/providers/alibaba.md +++ b/docs/source-gaps/providers/alibaba.md @@ -32,7 +32,7 @@ | [`wan2.7-image`](../../model-sources/providers/alibaba/models/wan2.7-image.md) | [`compute/coding-plans/dashscope-token-plan.json`](../../../compute/coding-plans/dashscope-token-plan.json) | `modelName` | [qwen-models](../../model-sources/providers/alibaba/SOURCES.md#qwen-models):fetched | | [`wan2.7-image`](../../model-sources/providers/alibaba/models/wan2.7-image.md) | [`compute/model-specs/qwen.json`](../../../compute/model-specs/qwen.json) | `id` | [qwen-models](../../model-sources/providers/alibaba/SOURCES.md#qwen-models):fetched | -## 仅确认 ID,参数来源未登记(98 条) +## 仅确认 ID,参数来源未登记(96 条) | 模型 | 接入面 | 未登记证明的关键字段 | 官网入口/读取结果 | | --- | --- | --- | --- | @@ -60,8 +60,6 @@ | [`kimi-k2.5`](../../model-sources/providers/alibaba/models/kimi-k2.5.md) | [`compute/coding-plans/dashscope-token-plan.json`](../../../compute/coding-plans/dashscope-token-plan.json) | `contextWindow`、`maxOutputTokens` | [qwen-pricing](../../model-sources/providers/alibaba/SOURCES.md#qwen-pricing):fetched | | [`MiniMax-M2.5`](../../model-sources/providers/alibaba/models/minimax-m2.5.md) | [`compute/coding-plans/dashscope-coding.json`](../../../compute/coding-plans/dashscope-coding.json) | `contextWindow`、`maxOutputTokens` | [qwen-pricing](../../model-sources/providers/alibaba/SOURCES.md#qwen-pricing):fetched | | [`MiniMax-M2.5`](../../model-sources/providers/alibaba/models/minimax-m2.5.md) | [`compute/coding-plans/dashscope-token-plan.json`](../../../compute/coding-plans/dashscope-token-plan.json) | `contextWindow`、`maxOutputTokens` | [qwen-pricing](../../model-sources/providers/alibaba/SOURCES.md#qwen-pricing):fetched | -| [`paraformer-v2`](../../model-sources/providers/alibaba/models/paraformer-v2.md) | [`compute/providers/dashscope.json`](../../../compute/providers/dashscope.json) | 已登记关键字段都有证明;其他合同限制仍按原记录复核 | [qwen-pricing](../../model-sources/providers/alibaba/SOURCES.md#qwen-pricing):fetched | -| [`paraformer-v2`](../../model-sources/providers/alibaba/models/paraformer-v2.md) | [`compute/model-specs/qwen.json`](../../../compute/model-specs/qwen.json) | 已登记关键字段都有证明;其他合同限制仍按原记录复核 | [qwen-pricing](../../model-sources/providers/alibaba/SOURCES.md#qwen-pricing):fetched | | [`qwen-image-2.0-pro`](../../model-sources/providers/alibaba/models/qwen-image-2.0-pro.md) | [`compute/providers/dashscope.json`](../../../compute/providers/dashscope.json) | 已登记关键字段都有证明;其他合同限制仍按原记录复核 | [qwen-pricing](../../model-sources/providers/alibaba/SOURCES.md#qwen-pricing):fetched | | [`qwen-image-2.0-pro`](../../model-sources/providers/alibaba/models/qwen-image-2.0-pro.md) | [`compute/model-specs/qwen.json`](../../../compute/model-specs/qwen.json) | 已登记关键字段都有证明;其他合同限制仍按原记录复核 | [qwen-pricing](../../model-sources/providers/alibaba/SOURCES.md#qwen-pricing):fetched | | [`qwen-image-2.0`](../../model-sources/providers/alibaba/models/qwen-image-2.0.md) | [`compute/providers/dashscope.json`](../../../compute/providers/dashscope.json) | 已登记关键字段都有证明;其他合同限制仍按原记录复核 | [qwen-pricing](../../model-sources/providers/alibaba/SOURCES.md#qwen-pricing):fetched | @@ -135,10 +133,13 @@ | [`wan3.0-video`](../../model-sources/providers/alibaba/models/wan3.0-video.md) | [`compute/providers/dashscope.json`](../../../compute/providers/dashscope.json) | 已登记关键字段都有证明;其他合同限制仍按原记录复核 | [qwen-models](../../model-sources/providers/alibaba/SOURCES.md#qwen-models):fetched | | [`wan3.0-video`](../../model-sources/providers/alibaba/models/wan3.0-video.md) | [`compute/model-specs/wan.json`](../../../compute/model-specs/wan.json) | 已登记关键字段都有证明;其他合同限制仍按原记录复核 | [qwen-models](../../model-sources/providers/alibaba/SOURCES.md#qwen-models):fetched | -## 已有部分参数证明,仍需区分未证明字段(7 条) +## 已有部分参数证明,仍需区分未证明字段(10 条) | 模型 | 接入面 | 未登记证明的关键字段 | 官网入口/读取结果 | | --- | --- | --- | --- | +| [`fun-asr-realtime`](../../model-sources/providers/alibaba/models/fun-asr-realtime.md) | [`compute/providers/dashscope.json`](../../../compute/providers/dashscope.json) | 已登记关键字段都有证明;其他合同限制仍按原记录复核 | [bailian-asr-realtime](../../model-sources/providers/alibaba/SOURCES.md#bailian-asr-realtime):fetched;[bailian-asr-pricing](../../model-sources/providers/alibaba/SOURCES.md#bailian-asr-pricing):fetched | +| [`fun-asr-realtime`](../../model-sources/providers/alibaba/models/fun-asr-realtime.md) | [`compute/model-specs/qwen.json`](../../../compute/model-specs/qwen.json) | 已登记关键字段都有证明;其他合同限制仍按原记录复核 | [bailian-asr-realtime](../../model-sources/providers/alibaba/SOURCES.md#bailian-asr-realtime):fetched;[bailian-fun-asr-websocket](../../model-sources/providers/alibaba/SOURCES.md#bailian-fun-asr-websocket):fetched;[bailian-fun-asr-sdk](../../model-sources/providers/alibaba/SOURCES.md#bailian-fun-asr-sdk):fetched | +| [`paraformer-v2`](../../model-sources/providers/alibaba/models/paraformer-v2.md) | [`compute/model-specs/qwen.json`](../../../compute/model-specs/qwen.json) | 已登记关键字段都有证明;其他合同限制仍按原记录复核 | [qwen-pricing](../../model-sources/providers/alibaba/SOURCES.md#qwen-pricing):fetched;[bailian-paraformer-file](../../model-sources/providers/alibaba/SOURCES.md#bailian-paraformer-file):fetched | | [`qwen3.7-max`](../../model-sources/providers/alibaba/models/qwen3.7-max.md) | [`compute/providers/dashscope.json`](../../../compute/providers/dashscope.json) | `defaultTemperature`、`defaultTopP` | [qwen-pricing](../../model-sources/providers/alibaba/SOURCES.md#qwen-pricing):fetched;[qwen37-max](../../model-sources/providers/alibaba/SOURCES.md#qwen37-max):fetched | | [`qwen3.7-max`](../../model-sources/providers/alibaba/models/qwen3.7-max.md) | [`compute/coding-plans/dashscope-token-plan.json`](../../../compute/coding-plans/dashscope-token-plan.json) | 已登记关键字段都有证明;其他合同限制仍按原记录复核 | [qwen-pricing](../../model-sources/providers/alibaba/SOURCES.md#qwen-pricing):fetched;[qwen37-max](../../model-sources/providers/alibaba/SOURCES.md#qwen37-max):fetched | | [`qwen3.7-max`](../../model-sources/providers/alibaba/models/qwen3.7-max.md) | [`compute/model-specs/qwen.json`](../../../compute/model-specs/qwen.json) | `spec.defaultTemperature`、`spec.supportsReasoning` | [qwen-pricing](../../model-sources/providers/alibaba/SOURCES.md#qwen-pricing):fetched;[qwen37-max](../../model-sources/providers/alibaba/SOURCES.md#qwen37-max):fetched | diff --git a/docs/source-gaps/providers/openai.md b/docs/source-gaps/providers/openai.md index a0d9426..0d65ce1 100644 --- a/docs/source-gaps/providers/openai.md +++ b/docs/source-gaps/providers/openai.md @@ -12,7 +12,7 @@ 无该类记录。 -## 入口有读取记录,但本条模型无字段证明(71 条) +## 入口有读取记录,但本条模型无字段证明(70 条) | 模型 | 接入面 | 未登记证明的关键字段 | 官网入口/读取结果 | | --- | --- | --- | --- | @@ -84,11 +84,10 @@ | [`tts-1-hd`](../../model-sources/providers/openai/models/tts-1-hd.md) | [`compute/model-specs/openai.json`](../../../compute/model-specs/openai.json) | `id` | [openai-models](../../model-sources/providers/openai/SOURCES.md#openai-models):fetched | | [`tts-1`](../../model-sources/providers/openai/models/tts-1.md) | [`compute/providers/openai.json`](../../../compute/providers/openai.json) | `inputPrice`、`modelName` | [openai-models](../../model-sources/providers/openai/SOURCES.md#openai-models):fetched | | [`tts-1`](../../model-sources/providers/openai/models/tts-1.md) | [`compute/model-specs/openai.json`](../../../compute/model-specs/openai.json) | `id` | [openai-models](../../model-sources/providers/openai/SOURCES.md#openai-models):fetched | -| [`whisper-1`](../../model-sources/providers/openai/models/whisper-1.md) | [`compute/providers/openai.json`](../../../compute/providers/openai.json) | `inputPrice`、`modelName` | [openai-models](../../model-sources/providers/openai/SOURCES.md#openai-models):fetched | -| [`whisper-1`](../../model-sources/providers/openai/models/whisper-1.md) | [`compute/model-specs/openai.json`](../../../compute/model-specs/openai.json) | `id` | [openai-models](../../model-sources/providers/openai/SOURCES.md#openai-models):fetched | | [`whisper-large-v3`](../../model-sources/providers/openai/models/whisper-large-v3.md) | [`compute/providers/local-whisper.json`](../../../compute/providers/local-whisper.json) | `modelName` | [openai-models](../../model-sources/providers/openai/SOURCES.md#openai-models):fetched | +| [`whisper-large-v3`](../../model-sources/providers/openai/models/whisper-large-v3.md) | [`compute/model-specs/openai.json`](../../../compute/model-specs/openai.json) | `id` | [whisper](../../model-sources/providers/openai/SOURCES.md#whisper):fetched | -## 仅确认 ID,参数来源未登记(11 条) +## 仅确认 ID,参数来源未登记(13 条) | 模型 | 接入面 | 未登记证明的关键字段 | 官网入口/读取结果 | | --- | --- | --- | --- | @@ -103,8 +102,10 @@ | [`gpt-6.1-terra`](../../model-sources/providers/openai/models/gpt-6.1-terra.md) | [`compute/providers/openai-codex.json`](../../../compute/providers/openai-codex.json) | `contextWindow`、`extra.reasoning.defaultEffort`、`extra.reasoning.supportedEfforts`、`maxOutputTokens` | [openai-terra61-codex](../../model-sources/providers/openai/SOURCES.md#openai-terra61-codex):fetched | | [`gpt-realtime-2.1`](../../model-sources/providers/openai/models/gpt-realtime-2.1.md) | [`compute/providers/openai.json`](../../../compute/providers/openai.json) | `contextWindow`、`extra.audioCachedInputPrice`、`extra.audioInputPrice`、`extra.audioOutputPrice`、`extra.imageCachedInputPrice`、`extra.imageInputPrice`、`extra.textCachedInputPrice`、`inputPrice`、`maxOutputTokens`、`outputPrice` | [openai-models](../../model-sources/providers/openai/SOURCES.md#openai-models):fetched | | [`gpt-realtime-translate`](../../model-sources/providers/openai/models/gpt-realtime-translate.md) | [`compute/providers/openai.json`](../../../compute/providers/openai.json) | `contextWindow`、`extra.audioOutputPricePerMinute`、`maxOutputTokens` | [openai-models](../../model-sources/providers/openai/SOURCES.md#openai-models):fetched | +| [`whisper-1`](../../model-sources/providers/openai/models/whisper-1.md) | [`compute/providers/openai.json`](../../../compute/providers/openai.json) | `inputPrice` | [openai-models](../../model-sources/providers/openai/SOURCES.md#openai-models):fetched;[openai-transcription-deprecations](../../model-sources/providers/openai/SOURCES.md#openai-transcription-deprecations):fetched | +| [`whisper-1`](../../model-sources/providers/openai/models/whisper-1.md) | [`compute/model-specs/openai.json`](../../../compute/model-specs/openai.json) | 已登记关键字段都有证明;其他合同限制仍按原记录复核 | [openai-models](../../model-sources/providers/openai/SOURCES.md#openai-models):fetched;[openai-transcription-deprecations](../../model-sources/providers/openai/SOURCES.md#openai-transcription-deprecations):fetched | -## 已有部分参数证明,仍需区分未证明字段(19 条) +## 已有部分参数证明,仍需区分未证明字段(21 条) | 模型 | 接入面 | 未登记证明的关键字段 | 官网入口/读取结果 | | --- | --- | --- | --- | @@ -127,6 +128,8 @@ | [`gpt-realtime-2.1-mini`](../../model-sources/providers/openai/models/gpt-realtime-2.1-mini.md) | [`compute/model-specs/openai.json`](../../../compute/model-specs/openai.json) | 已登记关键字段都有证明;其他合同限制仍按原记录复核 | [realtime21mini-spec](../../model-sources/providers/openai/SOURCES.md#realtime21mini-spec):fetched | | [`gpt-realtime-2.1`](../../model-sources/providers/openai/models/gpt-realtime-2.1.md) | [`compute/model-specs/openai.json`](../../../compute/model-specs/openai.json) | 已登记关键字段都有证明;其他合同限制仍按原记录复核 | [realtime21-spec](../../model-sources/providers/openai/SOURCES.md#realtime21-spec):fetched | | [`gpt-realtime-translate`](../../model-sources/providers/openai/models/gpt-realtime-translate.md) | [`compute/model-specs/openai.json`](../../../compute/model-specs/openai.json) | 已登记关键字段都有证明;其他合同限制仍按原记录复核 | [realtimetranslate-spec](../../model-sources/providers/openai/SOURCES.md#realtimetranslate-spec):fetched | +| [`gpt-transcribe`](../../model-sources/providers/openai/models/gpt-transcribe.md) | [`compute/providers/openai.json`](../../../compute/providers/openai.json) | 已登记关键字段都有证明;其他合同限制仍按原记录复核 | [openai-gpt-transcribe](../../model-sources/providers/openai/SOURCES.md#openai-gpt-transcribe):fetched;[openai-file-transcription](../../model-sources/providers/openai/SOURCES.md#openai-file-transcription):fetched | +| [`gpt-transcribe`](../../model-sources/providers/openai/models/gpt-transcribe.md) | [`compute/model-specs/openai.json`](../../../compute/model-specs/openai.json) | 已登记关键字段都有证明;其他合同限制仍按原记录复核 | [openai-gpt-transcribe](../../model-sources/providers/openai/SOURCES.md#openai-gpt-transcribe):fetched;[openai-file-transcription](../../model-sources/providers/openai/SOURCES.md#openai-file-transcription):fetched;[openai-audio-transcriptions-api](../../model-sources/providers/openai/SOURCES.md#openai-audio-transcriptions-api):fetched | ## 历史身份/参数不证明当前可用性(0 条) diff --git a/manifest.json b/manifest.json index 611e1dd..17f7166 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "version": "1.0.0", - "presetDataVersion": 134, - "updatedAt": "2026-10-28", + "presetDataVersion": 135, + "updatedAt": "2026-11-01", "description": "DesireCore 官方配置中心" } diff --git a/schemas/provider.schema.json b/schemas/provider.schema.json index 8a86f9c..2e522d9 100644 --- a/schemas/provider.schema.json +++ b/schemas/provider.schema.json @@ -81,6 +81,11 @@ "type": "string", "description": "品牌分组标识,UI 按此字段排序" }, + "credentialMode": { + "type": "string", + "enum": ["required", "none", "managed"], + "description": "凭据模式:required 表示必须配置 API Key;none 表示本地/无鉴权服务无需密钥;managed 表示凭据由登录态或外部运行时托管。未声明时由客户端按旧配置兼容规则判定。" + }, "credentialSource": { "type": "string", "enum": ["codex-cli", "claude-oauth", "github-copilot"], diff --git a/scripts/catalog-v2/compile.mjs b/scripts/catalog-v2/compile.mjs index 6ceb0f2..0b740d7 100644 --- a/scripts/catalog-v2/compile.mjs +++ b/scripts/catalog-v2/compile.mjs @@ -51,7 +51,7 @@ export function projectV1(catalog){ else throw new Error(`Missing projection ${model.apiModelId}.${key}`); } return out; - });outputs[access.metadata.sourceFile]={...clone(access.connection),models}; + });outputs[access.metadata.sourceFile]={...clone(access.connection),...clone(access.metadata.v1Connection??{}),models}; } return outputs; } @@ -76,7 +76,11 @@ export function compileCatalog(catalog){ // Projection-only metadata never enters the runtime contract; useful descriptive values remain non-consumed. delete output.metadata.specFiles; for(const spec of output.specs){delete spec.metadata.projection;delete spec.metadata.legacyIdentity;} - for(const access of output.accesses)for(const model of access.models)delete model.metadata.projection; + for(const access of output.accesses){ + // V1-only connection fields: released clients reject unknown V2 connection keys, so they must not reach compute/v2. + delete access.metadata.v1Connection; + for(const model of access.models)delete model.metadata.projection; + } output.digest=digest(output); const projection=projectV1(catalog); const diagnostics={specs:catalog.specs.length,accesses:catalog.accesses.length,models:catalog.accesses.reduce((n,a)=>n+a.models.length,0),bindings:{},overrides:[],publication:catalog.publication}; diff --git a/scripts/validate-sources.mjs b/scripts/validate-sources.mjs index 98636c2..21a0012 100644 --- a/scripts/validate-sources.mjs +++ b/scripts/validate-sources.mjs @@ -52,7 +52,7 @@ const stable = (value) => { return value } export const modelFingerprint = (row) => createHash('sha256').update(JSON.stringify(stable(row))).digest('hex') -export const configFingerprint = (data) => modelFingerprint(Object.fromEntries(['id', 'provider', 'brandGroup', 'label', 'baseUrl', 'mediaBaseUrl', 'apiFormat', 'priceCurrency', 'services', 'accessMode', 'credentialSource', 'requiredClientVersion', 'tombstones', 'description', 'codingPlan'].filter((key) => key in data).map((key) => [key, data[key]]))) +export const configFingerprint = (data) => modelFingerprint(Object.fromEntries(['id', 'provider', 'brandGroup', 'label', 'baseUrl', 'mediaBaseUrl', 'apiFormat', 'priceCurrency', 'services', 'accessMode', 'credentialMode', 'credentialSource', 'requiredClientVersion', 'tombstones', 'description', 'codingPlan'].filter((key) => key in data).map((key) => [key, data[key]]))) const get = (row, path) => path.split('.').reduce((value, key) => value?.[key], row) const dateValid = (value) => /^\d{4}-\d{2}-\d{2}$/.test(value ?? '') && !Number.isNaN(Date.parse(value)) && new Date(value).toISOString().slice(0, 10) === value const configSupplier = (config) => {