Commit Graph

11 Commits

Author SHA1 Message Date
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
199a2bc528 feat(dashscope): 添加 mediaBaseUrl 和万相新模型系列
- 添加 mediaBaseUrl: https://dashscope.aliyuncs.com/api/v1
- 替换旧 wanx-v2 为 5 个最新模型:wan2.7-image-pro、wan2.7-image、wan2.6-t2i、wan2.2-t2i-plus、wan2.2-t2i-flash
- 更新 wanx-video 为 wan2.6-t2v,补充 endpoint 元数据
- 修正尺寸格式为阿里云 API 标准(`*` 分隔符)
- 各模型 extra 中记录 endpoint/asyncHeader/taskQueryEndpoint 供技能直接引用
2026-05-07 19:09:30 +08:00
380e99c577 修复算力模型采样默认值 2026-04-25 21:39:51 +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
cc2fb7b9a5 fix: remove irrelevant text-model fields from non-text providers
Remove contextWindow: 0 and maxOutputTokens: 0 from non-text models
(tts, asr, image_gen, video_gen, voice_clone, translation, etc.) and
maxOutputTokens: 0 from embedding/rerank models across kling,
local-whisper, stability, openai, dashscope, google, volcengine,
and zhipu-embedding configs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-24 19:53:57 +08:00
c57cd4723d audit model field values against official docs 2026-04-24 12:20:24 +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
e2f4a6935c refactor: defaultTemperature/defaultTopP 从 Provider 级别迁移到 Model 级别
- 删除所有 Provider 顶层的 defaultTemperature / defaultTopP
- 为所有对话类模型添加 model 级别的推荐温度参数(基于官方文档)
- volcengine:将 extra 内温度参数提升到模型顶层正式字段
- presetDataVersion 7→8

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 18:57:13 +08:00
80565d66c1 fix: 全面复核 Provider 定价与配置,新增 priceCurrency 货币标识
- 新增 priceCurrency 字段:国外 Provider 标记 USD,国内 Provider 标记 CNY
- OpenAI GPT-4/o 系列价格修正(消除错误的 ×7.2 汇率膨胀)
- Anthropic modelName 格式修正(点号→连字符,如 claude-opus-4-6)
- DeepSeek 价格修正为 ¥ 原始定价,删除蒸馏模型
- DashScope qwen3.5-max→qwen3.5-plus(不存在的模型名修正)
- Google gemini-2.5-pro-vision 删除(不存在),flash 价格更新
- 智谱 glm-5-plus 删除(不存在),contextWindow 修正
- Kling apiFormat→kling-task-api,Stability→stability-rest-api
- Cohere baseUrl 域名修正 .com→.ai
- MiniMax/百度/腾讯/讯飞/硅基流动价格修正为 ¥ 原始定价
- presetDataVersion 6→7

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 18:02:47 +08:00
16b06ab168 refactor: 统一所有 Provider label 为「公司 + 模型品牌」命名风格 2026-02-23 15:16:12 +08:00
7ff488641f feat: 拆分 providers.json 为按 Provider 独立文件
将 compute/providers.json(54KB, 14 providers, 99 models)拆分为
compute/providers/ 目录下的独立 JSON 文件,便于维护和按需更新。

新增文件:
- compute/providers/_index.json — 加载顺序索引(保证 digest 确定性)
- compute/providers/{provider}.json × 14 — 各 provider 独立配置

保留 compute/providers.json 供旧客户端向后兼容(过渡期)。

presetDataVersion: 2 → 3

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 14:24:55 +08:00