Commit Graph
27 Commits
Author SHA1 Message Date
124608760 4192a19ecf Merge pull request #14 from desirecore/feat/dashscope-token-plan
feat(dashscope): 新增 Token Plan + 更新 Coding Plan + 补充 qwen-image 模型
2026-05-07 20:51:50 +08:00
124608760 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
124608760 f4706b1558 fix: Token Plan schema 兼容修复(accessMode/codingPlan/method) 2026-05-07 20:12:45 +08:00
124608760 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
124608760 5d68ed4bc4 Merge pull request #13 from desirecore/feat/dashscope-image-models
feat(dashscope): 添加 mediaBaseUrl 和万相新模型系列
2026-05-07 19:13:39 +08:00
124608760 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
124608760 e9cbb99f40 Merge pull request #11 from desirecore/fix/volcengine-config
fix(volcengine): update provider and coding plan models
2026-04-29 21:45:03 +08:00
124608760 f29e6966dc fix(schema): allow mediaBaseUrl in provider schema 2026-04-29 21:43:28 +08:00
124608760 7ac60f9c3c fix(volcengine): update provider and coding plan models 2026-04-29 21:24:59 +08:00
124608760 2d98f45fbc Merge pull request #10 from desirecore/fix/halve-context-window-internal-testing
fix: 临时将 internal-testing contextWindow 减半
2026-04-29 21:01:35 +08:00
124608760andClaude Opus 4.6 244154ee06 fix: 临时将 internal-testing 所有模型 contextWindow 减半
为排查上下文窗口相关问题,将所有模型的 contextWindow 临时减半。
每个模型添加了 _contextWindowNote 字段记录原始值,便于后续恢复。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-29 20:14:24 +08:00
124608760 e65c3f4c23 fix(minimax): Token Plan 改用 anthropic-messages 格式(与 API provider 一致) 2026-04-28 22:04:17 +08:00
124608760 32203fb2a9 fix(minimax): codingPlan 结构适配 schema(移除不兼容的嵌套配额) 2026-04-28 21:36:22 +08:00
124608760 9da3d12a4f chore: Coding Plan 统一改名为 Token (Coding) Plan 2026-04-28 21:14:03 +08:00
124608760 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
124608760 f128d2adc7 Merge pull request #9 from desirecore/fix/minimax-anthropic-format
fix: MiniMax 切换 Anthropic 格式 + mediaBaseUrl
2026-04-28 12:03:27 +08:00
124608760 ad0f83ead5 fix: MiniMax 切换为 Anthropic 消息格式 + mediaBaseUrl
- apiFormat: openai-completions → anthropic-messages
- baseUrl: api.minimaxi.com/v1 → api.minimaxi.com/anthropic
- 新增 mediaBaseUrl: api.minimaxi.com/v1(媒体 API 专用)

解决 pi-ai 注册表 api 字段与 compute.json apiFormat 冲突,
导致 chat 请求路径拼接为 /v1/v1/messages 而 404 的问题。
2026-04-28 12:01:23 +08:00
124608760 1c71483e25 feat: MiniMax Provider 合并媒体能力(图片/语音/视频/音乐) (#8)
将媒体生成模型直接合并到现有 provider-minimax-001,而非创建独立的媒体
Provider。原因:MiniMax 所有 API(聊天/图片/语音/视频/音乐)共享同一
域名(api.minimaxi.com)、同一认证方式(Bearer)和同一 API Key,与
OpenAI 的 provider 结构一致。

变更内容:
- 修改 compute/providers/minimax.json
  - services 新增:image_gen, tts, video_gen, music_gen
  - models 新增 10 个媒体模型(来源:官方文档):
    · image-01, image-01-live(文生图/图生图)
    · speech-2.8-hd, speech-2.8-turbo(语音合成,最新 2.8 系列)
    · MiniMax-Hailuo-2.3, Hailuo-2.3-Fast, T2V-01-Director(视频生成)
    · music-2.6, music-cover(音乐生成 + 翻唱)
- 更新 service-map.json:新增 music_gen → music-2.6 / provider-minimax-001
- 递增 manifest.json presetDataVersion 32 → 33

API 参数来源:MiniMax 国内开放平台官方文档
https://platform.minimaxi.com/docs/api-reference/api-overview
2026-04-27 22:17:12 +08:00
124608760 d1271bd894 fix: 补充缺失的 vision 能力声明 (#7)
以下模型实际支持图片理解但 capabilities 中缺少 vision,导致
DesireCore 前端误拦截图片消息:

minimax:
- MiniMax-M2.7(用户实测确认支持图片输入)
- MiniMax-M2.7-highspeed

volcengine:
- doubao-2.0-pro(官方:支持文字、图片、视频输入)
- doubao-seed-1.8(官方:升级多模态理解)
- doubao-seed-1.6(官方:All-in-One,支持多模态理解)
- doubao-seed-1.6-flash(官方:视觉理解能力比肩友商旗舰)

presetDataVersion: 31 → 32
2026-04-27 18:56:55 +08:00
124608760 6e5d03b6df Stop tracking generated audit docs 2026-04-26 17:44:03 +08:00
124608760 370c3d17d1 chore: preserve field audit artifacts and tools (#5)
* 备份同步前的配置审计修改

* 更新字段审计产物
2026-04-26 10:34:19 +08:00
124608760 380e99c577 修复算力模型采样默认值 2026-04-25 21:39:51 +08:00
124608760andClaude Opus 4.6 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
124608760andClaude Opus 4.6 5b9c8ac61f fix: restore CNY pricing for MiniMax and Zhipu (Chinese providers)
MiniMax and Zhipu are Chinese providers whose priceCurrency was
incorrectly changed from CNY to USD, with prices converted to
USD values. Restored correct CNY pricing verified against official docs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-24 20:06:24 +08:00
124608760andClaude Opus 4.6 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
124608760andClaude Opus 4.6 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
124608760 c57cd4723d audit model field values against official docs 2026-04-24 12:20:24 +08:00