Commit Graph

19 Commits

Author SHA1 Message Date
5276339aa5 feat(internal-testing): add MiniMax-M2.7-highspeed as provider default model
- 在内测专用 provider 新增模型 MiniMax-M2.7-highspeed (高速版)
- 插入到 models 数组最前面, 基于前端 fallback 逻辑 (app/utils/compute-helpers.ts:
  fallback.models.find(chat) ?? fallback.models[0]) 成为该 provider 的默认选项
- bump presetDataVersion 18 -> 19
2026-04-19 23:32:31 +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
张馨元
b580622aa4 增加内测模型glm-4.7 2026-04-18 15:23:50 +08:00
张馨元
344a9fe4c6 feat: 内测渠道增加 Kimi K2.6 Code Preview 模型支持
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-16 15:34:44 +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
c8d4061422 feat: 内测 provider 新增 qwen3.6-plus、qwen3.5-35b-a3b、qwen3.5-27b 三个模型 2026-04-08 16:52:35 +08:00
8ea6fa7bba feat: 内测渠道增加 GLM-5.1 模型支持
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 23:36:33 +08:00
a35b268011 feat: add MiniMax M2.7 to official minimax provider 2026-03-19 23:17:37 +08:00
3a655077b0 feat: 内测供应商增加 GLM-5-Turbo 并设为默认
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 20:29:54 +08:00
9d5f1df7cb feat: 内测供应商增加 MiniMax-M2.7
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 16:32:27 +08:00
d44541ca74 feat: 添加内测专用供应商 (internal-testing)
- 端点: https://api.yizhioa.cn/v1
- 协议: anthropic-messages
- 模型: GLM-5, Kimi-2.5, MiniMax-M2.5, Qwen3 Max, Qwen3.5 Plus, 豆包 Seed 2.0 Code Preview
- presetDataVersion: 10 → 11

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 01:57:40 +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
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
47eb290d3f fix: 统一 Provider 命名风格(文心 ERNIE、讯飞星火、xAI、Perplexity AI) 2026-02-23 15:12:11 +08:00
646cee8992 feat: 新增 9 个 Provider(baidu, tencent, xunfei, siliconflow, mistral, xai, cohere, openrouter, perplexity),presetDataVersion 5→6 2026-02-23 11:49:39 +08:00
aa333700b6 feat: 添加 MiniMax Provider 配置,presetDataVersion 升至 5 2026-02-23 09:49:16 +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