Commit Graph

16 Commits

Author SHA1 Message Date
xyx
8a4a08b642 fix(dashscope): Token Plan 回退为客户端兼容字段 (#15)
线上客户端 schema 尚未支持 tokenPlan/accessMode:"token-plan",
同步后导致 compute.json 校验失败。临时回退为 codingPlan + coding-plan,
待主仓库升级 schema 后再切换为语义正确的字段。
2026-05-07 22:05:30 +08:00
37d51e6e4d feat(schema): 扩展 provider schema 支持 Token Plan
- accessMode enum 新增 "token-plan"
- 新增顶层 tokenPlan 属性(与 codingPlan 结构对齐)
- usageTracking.method enum 新增 "credits"(Token Plan 使用 Credits 计量)
- dashscope-token-plan.json 恢复语义正确的 tokenPlan 配置
2026-05-07 20:15:58 +08:00
f4706b1558 fix: Token Plan schema 兼容修复(accessMode/codingPlan/method) 2026-05-07 20:12:45 +08:00
01764d447d feat(dashscope): 更新 Coding Plan 模型 + 新增 Token Plan + providers 补充 qwen-image 系列
Coding Plan:
- 更新模型列表至最新(qwen3.6-plus、kimi-k2.5、glm-5 等 9 个模型)
- 修正上下文窗口参数(qwen3.6-plus: 1M, glm-5: 200K 等)
- label 从 "Token (Coding) Plan" 改回 "Coding Plan"

Token Plan(新增):
- 新增 dashscope-token-plan.json 配置
- baseUrl: token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1
- 包含文本模型 4 个 + 图像模型 4 个(wan2.7 + qwen-image-2.0)
- accessMode: "token-plan",usageTracking: credits

Providers (dashscope.json):
- 补充 qwen-image-2.0-pro 和 qwen-image-2.0 两个图像生成模型
2026-05-07 20:09:25 +08:00
7ac60f9c3c fix(volcengine): update provider and coding plan models 2026-04-29 21:24:59 +08:00
e65c3f4c23 fix(minimax): Token Plan 改用 anthropic-messages 格式(与 API provider 一致) 2026-04-28 22:04:17 +08:00
32203fb2a9 fix(minimax): codingPlan 结构适配 schema(移除不兼容的嵌套配额) 2026-04-28 21:36:22 +08:00
9da3d12a4f chore: Coding Plan 统一改名为 Token (Coding) Plan 2026-04-28 21:14:03 +08:00
a1c9c7351b fix(minimax): 补全模型列表,Token Plan 升级为全模态
providers/minimax.json(API 按量计费):
- 新增文本模型:MiniMax-M2、M2-her
- 新增历史语音模型:speech-2.6-hd/turbo、speech-02-hd/turbo
- 新增历史视频模型:MiniMax-Hailuo-02、S2V-01
- 新增历史音乐模型:music-2.5+、music-2.5
- 标记历史版本 extra.legacy: true
- services 补充 vision

coding-plans/minimax-coding.json(Token Plan):
- label 从 "Coding Plan" 改为 "Token Plan"(MiniMax 2026.3 升级)
- 从仅 M1 扩展为全模态:M2.7、Speech 2.8、image-01、Hailuo-2.3、Music-2.6
- 补充完整配额信息(6 个套餐等级 × 5 个模态)
- 补充定价信息(月付/年付)

presetDataVersion: 34 → 35
2026-04-28 20:55:45 +08:00
371336cdd6 Revert "Merge pull request #1 from desirecore/model-field-official-audit"
This reverts commit 88a8cf2db6, reversing
changes made to ca99ea272f.
2026-04-25 19:34:29 +08:00
b0e0cead04 chore: update field audit tables and provider configs
Batch update from official docs audit - price corrections, context
window fixes, field report updates across all providers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-24 20:12:57 +08:00
7159e1cf59 fix(coding-plans): revert incorrect model name suffix and align MiniMax Token Plan labels
- Revert qwen3-max-2026-01-23 back to qwen3-max in dashscope-coding
- Update minimax-coding labels/descriptions to "Token Plan" to match
  actual config params (endpoints, quotas, billing), since MiniMax
  upgraded Coding Plan to Token Plan in March 2026

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-24 15:12:13 +08:00
c57cd4723d audit model field values against official docs 2026-04-24 12:20:24 +08:00
c7a24a7acd feat(zhipu): switch to anthropic-messages endpoint and split embedding provider
- zhipu (chat/reasoning/vision): baseUrl -> /api/anthropic, apiFormat -> anthropic-messages
  启用 Anthropic 协议的 thinking 字段以支持 GLM 深度思考流式输出
- zhipu-embedding (new): 独立承载 embedding-3, 保留 /api/paas/v4 + openai-completions
  Anthropic 协议不提供 /embeddings 端点
- zhipu-coding (Coding Plan): baseUrl -> /api/anthropic, apiFormat -> anthropic-messages
  与非套餐端点共用同一协议, 计费维度由 API Key 区分
- bump presetDataVersion 17 -> 18
2026-04-19 23:31:45 +08:00
张馨元
97c2c16643 fix: 修复 22 处模型能力标签与实际能力不一致的问题
- 为 kimi-k2、qwen3-max、glm-4.6、grok-4 等 12 个模型补充 vision 标签
- 为 minimax-m2.1-highspeed、mistral-small-latest 补充 reasoning 标签
- 对齐 coding-plan 版本与主版本的能力标签(zhipu/dashscope/moonshot)
- 补全 internal-testing 内测版过度简化的能力标签
- bump presetDataVersion: 17 -> 18

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-15 15:30:00 +08:00
张馨元
5de191f62f fix: 修复供应商默认端点 URL 并新增 Coding Plan 配置
- anthropic: 去掉多余的 /v1(Anthropic 原生 API 不带版本路径)
- deepseek: 去掉 /v1(官方推荐不带版本后缀)
- minimax: 域名从 minimax.io 改为 minimaxi.com(国内正式域名)
- 新增 compute/coding-plans/ 目录(8 个 Coding Plan 供应商配置)
- manifest presetDataVersion 9 → 10

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 19:26:08 +08:00