Commit Graph

8 Commits

Author SHA1 Message Date
127bb62932 fix(compute): MiniMax M2.x 单次输出上限按官网更正为 204800,已下线型号写入 tombstones (#126)
MiniMax 官网 Messages API 参数参考(国内与国际站同页,OpenAI 兼容
max_completion_tokens 同值)写明:除 M3.1-Flash-Preview 与 M3 外的其他模型
max_tokens 推荐 65536、上限 204800,同页 model 枚举列出 M2.7、M2.5、M2.1、M2
及各 highspeed。本仓 maxOutputTokens 是单次输出上限,登记上限而非推荐值
(与 #125 的 M3 处理一致)。

- M2.7、M2.7-highspeed、M2.5、M2.5-highspeed、M2.1、M2.1-highspeed、M2 七个
  规格 maxOutputTokens 131072 → 204800;直连与 Token Plan 条目没有输出覆盖,
  随规格变化。上下文窗口 204800 复核一致。
- 官网模型列表把 MiniMax-M2.1、M2.1-highspeed、M2、M2-her 列为已下线:
  直连 provider-minimax-001 移除这 4 条并写入 tombstones(只删除本地
  source=preset 的同名条目),共享规格保留。
- M2-her 官方指南只给出 64 K 上下文(简写)、未给输出上限,且走 OpenAI 兼容
  接口、不在 /anthropic 支持型号内;规格原 204800 / 131072 无来源,改为未声明。
- 官网概览页通知 M2.5、M2.7 系列 2026-10-19 起停止向新用户开放、2026-11-18
  正式下线,M Plan/Token Plan 请求自 2026-10-19 起路由至 M3.1 Flash Preview;
  尚未到下线日,只在直连与 Token Plan 条目描述中写明。
- 来源记录新增 minimax-model-list、minimax-text-chat,刷新 minimax-models;
  规格决策清单补 M2.x verifiedLimits;presetDataVersion 133。

火山/腾讯/百度套餐中无本地数值的 minimax-m2.5/m2.7 在旧版匹配器下会继承
新上限,这些平台自身的上限未核。未做账号实测。
2026-10-18 18:39:08 +08:00
db5fbc408b fix(compute): MiniMax-M3 单次输出上限按官网更正为 524288 (#125)
MiniMax 官网 Messages API 参数参考(国内与国际站同页)写明 MiniMax-M3 的
max_tokens 推荐值 131072(128K)、上限 524288(512K),思考 token 计入上限;
OpenAI 兼容 max_completion_tokens 同值。本仓 maxOutputTokens 是单次输出上限,
客户端出站准入按它拒绝超额请求,应登记上限而非推荐值。

- 规格 MiniMax-M3 的 maxOutputTokens 由 512000 更正为 524288
- 直连 provider-minimax-001 与 Token Plan provider-minimax-coding-001 的 131072
  是沿用旧副本(V2 标注 inherited-not-reverified);二者同走 /anthropic 端点,
  官网未按 Key 类型另设单次输出上限,删除接入覆盖、改为继承规格
- 上下文窗口 1,000,000 复核一致,不变
- 来源记录新增 minimax-messages-api,刷新 minimax-anthropic 读取日期与摘要;
  规格决策清单两条 MiniMax-M3 差异改为 verified-official-limit
- presetDataVersion 132,规格索引批次说明同步

Token Plan 账号下 M3 是否仍可调用未做账号实测;M2.x 的 131072 与官网上限 204800
的差异未在本次处理。
2026-10-18 18:08:15 +08:00
642985e819 fix(data): complete verified contracts and source maintenance (#114) 2026-10-03 03:49:55 -07:00
cccf14f72d fix(compute): verify official model data and document sources (#112)
* fix(compute): verify official data and document model sources

* test(docs): guard provider metadata source freshness
2026-10-02 23:51:28 -07:00
79ffd1f8c3 feat(compute): refresh provider model catalog and compatibility profiles (#111) 2026-10-02 07:38:18 -07:00
ad8c515938 refactor: consolidate smart routing into model specs (#75) 2026-08-10 19:13:08 +08:00
Johnson-LYS
51935c0d54 chore(internal-testing): 退役内置 provider;bump presetDataVersion to 61 (#26)
* chore(internal-testing): 退役内置 provider;bump presetDataVersion to 52

internal-testing 一直作为内测阶段的硬编码 provider 存在,现在客户端已切换到
登录后绑定 desirecore-cloud(NewAPI 网关)方案,internal-testing 不再需要。

从此 commit 起:
- compute/providers/internal-testing.json 删除
- _index.json 移除 internal-testing 条目
- presetDataVersion 51 → 52,触发客户端重新合并预置

客户端需配套实现 retired-providers 清理逻辑:在 mergeBuiltinIfNewer 之后
执行一次性清理,移除本地 compute.json 中残留的 provider-internal-testing-001
+ secrets.json#internal-testing。

* chore: bump preset data version to 61

* feat: 增量同步 16 个厂商旗舰模型 (首批精选)

首次从 OpenRouter 增量同步,覆盖 13 家厂商的最新旗舰:

概要
---
- 新增 .sync-watermark 水位线文件 (1782276303 / 2026-06-24)
- presetDataVersion: 61 → 62
- 校验 70/70 全部通过

新增模型
---
OpenAI:     gpt-image-2 (image_gen), gpt-5.5, gpt-5.4
Anthropic:  claude-fable-5, claude-opus-4.8
Google:     gemini-3.5-flash, gemini-3.1-flash-image (Nano Banana 2)
DeepSeek:   deepseek-v4-pro
Qwen:       qwen3.7-max, qwen3.7-plus
MiniMax:    MiniMax-M3
Moonshot:   kimi-k2.7-code
Zhipu:      glm-5.2
xAI:        grok-4.3
Mistral:    mistral-medium-3.5
Tencent:    hy3-preview
Cohere:     north-mini-code

后续机制
---
每日 10:00 心跳检查 OpenRouter 新模型,对比 .sync-watermark
增量入库,有更新才提 PR,无更新静默。
2026-06-29 20:52:13 +08:00
Johnson-LYS
e84edec964 feat(model-specs): 新增模型规格库——跨 provider 模型参数统一维护(presetDataVersion 54→58)
* feat(model-specs): 新增模型规格库与 schema 契约

- compute/model-specs/:按厂商维护模型内在参数(上下文窗口/最大输出/能力/serviceType/默认温度,不含价签)
- schemas/model-spec.schema.json:Draft-07 契约,spec 允许 null(新文件不影响老客户端 frozen 契约)
- scripts/validate.mjs:pickSchemaKey 纳入 model-specs 校验
- manifest.presetDataVersion 54→55

* feat(model-specs): 新增小米 MiMo 系列模型规格;bump presetDataVersion 55→56

* feat(model-specs): 补全全量模型规格;presetDataVersion 56→57

* feat(model-specs): 新增 releasedAt/retiredAt 时间戳字段;补充 mimo 退役日期
2026-06-01 19:45:14 +08:00