mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-10-21 04:44:26 +08:00
fix(compute): 按官网补对话型号的 tool_use 标签 (#119)
逐条对照供应商官方文档,核对 36 个对话规格与 70 个 Provider / 套餐预置条目 (capabilities 缺 tool_use / tools / function_calling)的工具调用支持情况: - 补 tool_use 25 条:规格 9、随规格继承的接入条目 5、接入覆盖 11 - 保持原样 81 条:官方写明不支持或页面互相矛盾 10、已下线或数日内下线 26、 官方当前文档无该型号或无工具调用说明 34、只在未适配接口上支持 2、官网读取失败 9 - 只改 capabilities,不动 routing;qwen-max 等按华北 2(北京)地域记,国际站不适用 - 同步单模型来源记录、供应商证据目录与来源缺口清单;逐条决定与依据见 docs/source-rechecks/2026-10-05-tool-calling/README.md - presetDataVersion 128 → 129
This commit is contained in:
@@ -49,10 +49,32 @@
|
||||
- 入口:[gpt-5-4-nano-api](https://developers.openai.com/api/docs/models/gpt-5.4-nano.md)
|
||||
- 类型:`official-doc`;读取状态:`fetched`;适用范围:OpenAI 直连 API;USD 每百万 token,不能证明 Codex 订阅窗口或可用性。
|
||||
|
||||
### openai-gpt-5-nano-tools
|
||||
|
||||
- 入口:[openai-gpt-5-nano-tools](https://developers.openai.com/api/docs/models/gpt-5-nano.md)
|
||||
- 类型:`official-doc`;读取状态:`fetched`;适用范围:OpenAI 直连 API 型号页;2026-10-05 只核对 Supported features 是否含 function_calling 与端点支持情况。
|
||||
|
||||
### openai-gpt-4-1-nano-tools
|
||||
|
||||
- 入口:[openai-gpt-4-1-nano-tools](https://developers.openai.com/api/docs/models/gpt-4.1-nano.md)
|
||||
- 类型:`official-doc`;读取状态:`fetched`;适用范围:OpenAI 直连 API 型号页;2026-10-05 只核对 Supported features 是否含 function_calling 与端点支持情况。
|
||||
|
||||
### openai-gpt-5-4-nano-tools
|
||||
|
||||
- 入口:[openai-gpt-5-4-nano-tools](https://developers.openai.com/api/docs/models/gpt-5.4-nano.md)
|
||||
- 类型:`official-doc`;读取状态:`fetched`;适用范围:OpenAI 直连 API 型号页;2026-10-05 只核对 Supported features 是否含 function_calling 与端点支持情况。
|
||||
|
||||
### openai-gpt-oss-120b-tools
|
||||
|
||||
- 入口:[openai-gpt-oss-120b-tools](https://developers.openai.com/api/docs/models/gpt-oss-120b.md)
|
||||
- 类型:`official-doc`;读取状态:`fetched`;适用范围:OpenAI 开放权重型号页;直连只有 Responses 端点,其他托管平台另核;2026-10-05 只核对 function_calling。
|
||||
|
||||
## 已知边界与核验说明
|
||||
|
||||
GPT-6.1 Sol 的窗口、输出、推理档位与直连计价已再次核对。API 参数不能自动套用到订阅后端;订阅的档位限制保留接入面记录。其他旧型号尚未在本次逐字段复核。
|
||||
|
||||
2026-10-05 工具调用核对:以上 `openai-gpt-5-nano-tools`、`openai-gpt-4-1-nano-tools`、`openai-gpt-5-4-nano-tools`、`openai-gpt-oss-120b-tools` 只用于核对函数 / 工具调用是否受支持,读取日期 2026-10-05;没有借此复核窗口、价格等其他字段,也没有做账号调用验收。能力标签里只有 `tool_use` 一项以这些来源为依据。
|
||||
|
||||
状态 `partial` 仅表示列出的字段已核实;不能推断整条配置、价格、账号权限或真实模型调用都已验收。`pending` 没有已核字段;`historical` 只作历史兼容参考。路由 tier/priority、产品标签和默认选择属于本仓策略,不伪装成官网数据。
|
||||
|
||||
`extra.responsesOnly` 是为工具调用采用的保守协议收紧。官网要求工具调用走 Responses;普通无工具的 Chat Completions 仍支持,不能把此配置理解为原厂完全不支持 Chat Completions。
|
||||
@@ -212,6 +234,46 @@ GPT-6.1 Sol 的窗口、输出、推理档位与直连计价已再次核对。AP
|
||||
"checkedAt": "2026-10-03",
|
||||
"contentSha256": "ac78c7daedd9543728f7a2c6ed453afce3bcbdcf590535fb4b65a7d2e7c43481",
|
||||
"resolvedUrl": "https://developers.openai.com/api/docs/deprecations.md"
|
||||
},
|
||||
{
|
||||
"id": "openai-gpt-5-nano-tools",
|
||||
"url": "https://developers.openai.com/api/docs/models/gpt-5-nano.md",
|
||||
"kind": "official-doc",
|
||||
"scope": "OpenAI 直连 API 型号页;2026-10-05 只核对 Supported features 是否含 function_calling 与端点支持情况",
|
||||
"retrieval": "fetched",
|
||||
"checkedAt": "2026-10-05",
|
||||
"contentSha256": "81508b2800ec4c9da22cf057ad4d6c2ba9237d98ec6a3915b5bc1df0ce45d131",
|
||||
"resolvedUrl": "https://developers.openai.com/api/docs/models/gpt-5-nano.md"
|
||||
},
|
||||
{
|
||||
"id": "openai-gpt-4-1-nano-tools",
|
||||
"url": "https://developers.openai.com/api/docs/models/gpt-4.1-nano.md",
|
||||
"kind": "official-doc",
|
||||
"scope": "OpenAI 直连 API 型号页;2026-10-05 只核对 Supported features 是否含 function_calling 与端点支持情况",
|
||||
"retrieval": "fetched",
|
||||
"checkedAt": "2026-10-05",
|
||||
"contentSha256": "b7bd756c48509d7eaa8187100fc682537c78eec6c3ff099ad6d3e28ace1a86eb",
|
||||
"resolvedUrl": "https://developers.openai.com/api/docs/models/gpt-4.1-nano.md"
|
||||
},
|
||||
{
|
||||
"id": "openai-gpt-5-4-nano-tools",
|
||||
"url": "https://developers.openai.com/api/docs/models/gpt-5.4-nano.md",
|
||||
"kind": "official-doc",
|
||||
"scope": "OpenAI 直连 API 型号页;2026-10-05 只核对 Supported features 是否含 function_calling 与端点支持情况",
|
||||
"retrieval": "fetched",
|
||||
"checkedAt": "2026-10-05",
|
||||
"contentSha256": "3dd20e2c95f09f3efb19c6255387a4e07d4d7c213367cca0a015e162a8f5b4e0",
|
||||
"resolvedUrl": "https://developers.openai.com/api/docs/models/gpt-5.4-nano.md"
|
||||
},
|
||||
{
|
||||
"id": "openai-gpt-oss-120b-tools",
|
||||
"url": "https://developers.openai.com/api/docs/models/gpt-oss-120b.md",
|
||||
"kind": "official-doc",
|
||||
"scope": "OpenAI 开放权重型号页;直连只有 Responses 端点,其他托管平台另核;2026-10-05 只核对 function_calling",
|
||||
"retrieval": "fetched",
|
||||
"checkedAt": "2026-10-05",
|
||||
"contentSha256": "2b57ea5a172afd293be49e3acb3d270c060a31ade355f04a4b7c4f45d37fae72",
|
||||
"resolvedUrl": "https://developers.openai.com/api/docs/models/gpt-oss-120b.md"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -32,7 +32,8 @@
|
||||
"chat",
|
||||
"code",
|
||||
"ultra_long_context",
|
||||
"fast"
|
||||
"fast",
|
||||
"tool_use"
|
||||
],
|
||||
"defaultTemperature": 1,
|
||||
"defaultTopP": 1,
|
||||
@@ -46,7 +47,9 @@
|
||||
|
||||
| 模型 ID | 上下文 / 输出 | 计价 | 已核字段→来源 | 来源入口 | 状态 | 数据指纹 |
|
||||
| --- | --- | --- | --- | --- | --- | --- |
|
||||
| `gpt-4.1-nano` | 1047576 / 32768 | USD:0.1 / 0.4 | 待核实 | [openai-models](../SOURCES.md#openai-models) | pending | `41339189c0645800f9be182f997c45ba1928d751f2d827a3767056c66c9bdd8f` |
|
||||
| `gpt-4.1-nano` | 1047576 / 32768 | USD:0.1 / 0.4 | 待核实 | [openai-models](../SOURCES.md#openai-models), [openai-gpt-4-1-nano-tools](../SOURCES.md#openai-gpt-4-1-nano-tools) | pending | `7b7fb17a5a0283edf7c7b5dc4e84ebd1f374b6fb3bbb55c46b2aeb0bae816c24` |
|
||||
|
||||
- 2026-10-05 工具调用核对:`capabilities` 增加 `tool_use`。随共享规格继承。官网型号页 Supported features 列有 function_calling,Chat Completions 端点为 Supported。依据:[openai-gpt-4-1-nano-tools](../SOURCES.md#openai-gpt-4-1-nano-tools)。本次只核对工具调用一项,其余标签仍是本仓产品标签,核验状态不变。
|
||||
|
||||
### compute/model-specs/openai.json
|
||||
|
||||
@@ -66,7 +69,8 @@
|
||||
"chat",
|
||||
"code",
|
||||
"ultra_long_context",
|
||||
"fast"
|
||||
"fast",
|
||||
"tool_use"
|
||||
],
|
||||
"spec.defaultTemperature": 1
|
||||
}
|
||||
@@ -77,7 +81,9 @@
|
||||
|
||||
| 模型 ID | 上下文 / 输出 | 计价 | 已核字段→来源 | 来源入口 | 状态 | 数据指纹 |
|
||||
| --- | --- | --- | --- | --- | --- | --- |
|
||||
| `gpt-4.1-nano` | 1047576 / 32768 | 非计价主数据 | 待核实 | [openai-models](../SOURCES.md#openai-models) | pending | `10391c540c483d083065285db7767352c94a881f8cb6288fd590f5334bb3eed1` |
|
||||
| `gpt-4.1-nano` | 1047576 / 32768 | 非计价主数据 | 待核实 | [openai-models](../SOURCES.md#openai-models), [openai-gpt-4-1-nano-tools](../SOURCES.md#openai-gpt-4-1-nano-tools) | pending | `5bbaae9a35a6df5215ef9f38b1d7739131669c18ecdf3199e8f0a39a786505ee` |
|
||||
|
||||
- 2026-10-05 工具调用核对:`spec.capabilities` 增加 `tool_use`。官网型号页 Supported features 列有 function_calling,Chat Completions 与 Responses 端点均为 Supported。依据:[openai-gpt-4-1-nano-tools](../SOURCES.md#openai-gpt-4-1-nano-tools)。本次只核对工具调用一项,其余标签仍是本仓产品标签,核验状态不变。
|
||||
|
||||
## 下次更新核查
|
||||
|
||||
|
||||
@@ -31,7 +31,8 @@
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"code",
|
||||
"fast"
|
||||
"fast",
|
||||
"tool_use"
|
||||
],
|
||||
"inputPrice": 0.05,
|
||||
"outputPrice": 0.4
|
||||
@@ -43,7 +44,9 @@
|
||||
|
||||
| 模型 ID | 上下文 / 输出 | 计价 | 已核字段→来源 | 来源入口 | 状态 | 数据指纹 |
|
||||
| --- | --- | --- | --- | --- | --- | --- |
|
||||
| `gpt-5-nano` | 400000 / 128000 | USD:0.05 / 0.4 | 待核实 | [openai-models](../SOURCES.md#openai-models) | pending | `90af0d7d4b1a5df561d95e574e1ebc1c4c974d42175a6a1a3046135edb5f80b8` |
|
||||
| `gpt-5-nano` | 400000 / 128000 | USD:0.05 / 0.4 | 待核实 | [openai-models](../SOURCES.md#openai-models), [openai-gpt-5-nano-tools](../SOURCES.md#openai-gpt-5-nano-tools) | pending | `439b0250c82f3a9d0caeca732c4b993353e2ef8e98898dd4ed120a3f8f0fb79c` |
|
||||
|
||||
- 2026-10-05 工具调用核对:`capabilities` 增加 `tool_use`。随共享规格继承。官网型号页 Supported features 列有 function_calling,Chat Completions 端点为 Supported。依据:[openai-gpt-5-nano-tools](../SOURCES.md#openai-gpt-5-nano-tools)。本次只核对工具调用一项,其余标签仍是本仓产品标签,核验状态不变。
|
||||
|
||||
### compute/model-specs/openai.json
|
||||
|
||||
@@ -62,7 +65,8 @@
|
||||
"spec.capabilities": [
|
||||
"chat",
|
||||
"code",
|
||||
"fast"
|
||||
"fast",
|
||||
"tool_use"
|
||||
],
|
||||
"spec.defaultTemperature": 1
|
||||
}
|
||||
@@ -73,7 +77,9 @@
|
||||
|
||||
| 模型 ID | 上下文 / 输出 | 计价 | 已核字段→来源 | 来源入口 | 状态 | 数据指纹 |
|
||||
| --- | --- | --- | --- | --- | --- | --- |
|
||||
| `gpt-5-nano` | 400000 / 128000 | 非计价主数据 | 待核实 | [openai-models](../SOURCES.md#openai-models) | pending | `bf4ea84c497783cfbb7eaf471b5b23f8799e85a8b8fd660c6832fa12fd390173` |
|
||||
| `gpt-5-nano` | 400000 / 128000 | 非计价主数据 | 待核实 | [openai-models](../SOURCES.md#openai-models), [openai-gpt-5-nano-tools](../SOURCES.md#openai-gpt-5-nano-tools) | pending | `662dfdfc1ce5bd7fff2097242c6f5087d8e2c0706d4c65aa3bcb8000e347f276` |
|
||||
|
||||
- 2026-10-05 工具调用核对:`spec.capabilities` 增加 `tool_use`。官网型号页 Supported features 列有 function_calling,Chat Completions 与 Responses 端点均为 Supported。依据:[openai-gpt-5-nano-tools](../SOURCES.md#openai-gpt-5-nano-tools)。本次只核对工具调用一项,其余标签仍是本仓产品标签,核验状态不变。
|
||||
|
||||
## 下次更新核查
|
||||
|
||||
|
||||
@@ -33,7 +33,8 @@
|
||||
"reasoning",
|
||||
"code",
|
||||
"fast",
|
||||
"long_context"
|
||||
"long_context",
|
||||
"tool_use"
|
||||
],
|
||||
"inputPrice": 0.2,
|
||||
"outputPrice": 1.25,
|
||||
@@ -55,7 +56,9 @@
|
||||
|
||||
| 模型 ID | 上下文 / 输出 | 计价 | 已核字段→来源 | 来源入口 | 状态 | 数据指纹 |
|
||||
| --- | --- | --- | --- | --- | --- | --- |
|
||||
| `gpt-5.4-nano` | 400000 / 128000 | USD:0.2 / 1.25 | `modelName`→[gpt-5-4-nano-api](../SOURCES.md#gpt-5-4-nano-api);`contextWindow`→[gpt-5-4-nano-api](../SOURCES.md#gpt-5-4-nano-api);`maxOutputTokens`→[gpt-5-4-nano-api](../SOURCES.md#gpt-5-4-nano-api);`inputPrice`→[gpt-5-4-nano-api](../SOURCES.md#gpt-5-4-nano-api);`outputPrice`→[gpt-5-4-nano-api](../SOURCES.md#gpt-5-4-nano-api);`extra.reasoning.supportedEfforts`→[gpt-5-4-nano-api](../SOURCES.md#gpt-5-4-nano-api);`extra.cachedInputPrice`→[gpt-5-4-nano-api](../SOURCES.md#gpt-5-4-nano-api) | [gpt-5-4-nano-api](../SOURCES.md#gpt-5-4-nano-api) | partial | `c9177352926f2671a78517659b30654fe41a14a2ebfcf435ba7854ee030bac0e` |
|
||||
| `gpt-5.4-nano` | 400000 / 128000 | USD:0.2 / 1.25 | `modelName`→[gpt-5-4-nano-api](../SOURCES.md#gpt-5-4-nano-api);`contextWindow`→[gpt-5-4-nano-api](../SOURCES.md#gpt-5-4-nano-api);`maxOutputTokens`→[gpt-5-4-nano-api](../SOURCES.md#gpt-5-4-nano-api);`inputPrice`→[gpt-5-4-nano-api](../SOURCES.md#gpt-5-4-nano-api);`outputPrice`→[gpt-5-4-nano-api](../SOURCES.md#gpt-5-4-nano-api);`extra.reasoning.supportedEfforts`→[gpt-5-4-nano-api](../SOURCES.md#gpt-5-4-nano-api);`extra.cachedInputPrice`→[gpt-5-4-nano-api](../SOURCES.md#gpt-5-4-nano-api) | [gpt-5-4-nano-api](../SOURCES.md#gpt-5-4-nano-api), [openai-gpt-5-4-nano-tools](../SOURCES.md#openai-gpt-5-4-nano-tools) | partial | `821b813acdd4c3ab2a7d8ba25980dd7123d9735e25ac1de4cd9a7f7026197465` |
|
||||
|
||||
- 2026-10-05 工具调用核对:`capabilities` 增加 `tool_use`。官网型号页 Supported features 列有 function_calling,Chat Completions 与 Responses 端点均为 Supported。依据:[openai-gpt-5-4-nano-tools](../SOURCES.md#openai-gpt-5-4-nano-tools)。本次只核对工具调用一项,其余标签仍是本仓产品标签,核验状态不变。
|
||||
|
||||
本轮读取该模型官方明文规格页,确认原厂直连窗口、输出、标准价格与推理合同。Pro 仅限 Responses;GPT-5.4 Pro 官方默认 medium,修正旧 high。none 在产品层映射 off,schema 不接受将 none 写成 defaultEffort,故未伪造其他显式默认档。
|
||||
|
||||
|
||||
@@ -30,7 +30,8 @@
|
||||
"spec.capabilities": [
|
||||
"chat",
|
||||
"code",
|
||||
"reasoning"
|
||||
"reasoning",
|
||||
"tool_use"
|
||||
]
|
||||
}
|
||||
```
|
||||
@@ -40,7 +41,9 @@
|
||||
|
||||
| 模型 ID | 上下文 / 输出 | 计价 | 已核字段→来源 | 来源入口 | 状态 | 数据指纹 |
|
||||
| --- | --- | --- | --- | --- | --- | --- |
|
||||
| `gpt-oss-120b` | 128000 / 16384 | 非计价主数据 | 待核实 | [openai-models](../SOURCES.md#openai-models) | pending | `72d4d1688e4cccad25cb26f3fbaa100da07eff743b5b48dd1c4194221a996513` |
|
||||
| `gpt-oss-120b` | 128000 / 16384 | 非计价主数据 | 待核实 | [openai-models](../SOURCES.md#openai-models), [openai-gpt-oss-120b-tools](../SOURCES.md#openai-gpt-oss-120b-tools) | pending | `7b3895ebd43e215f2a8c9b0bbc968d698f3053df2dc24c8c756648de94b74762` |
|
||||
|
||||
- 2026-10-05 工具调用核对:`spec.capabilities` 增加 `tool_use`。官网型号页 Supported features 列有 function_calling;OpenAI 直连只有 Responses 端点为 Supported(Chat Completions 为 Not supported),其他托管平台另核。依据:[openai-gpt-oss-120b-tools](../SOURCES.md#openai-gpt-oss-120b-tools)。本次只核对工具调用一项,其余标签仍是本仓产品标签,核验状态不变。
|
||||
|
||||
## 下次更新核查
|
||||
|
||||
|
||||
Reference in New Issue
Block a user