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
This commit is contained in:
2026-04-19 23:19:35 +08:00
parent ae3b36463a
commit c7a24a7acd
5 changed files with 40 additions and 22 deletions

View File

@@ -8,6 +8,7 @@
"volcengine",
"moonshot",
"zhipu",
"zhipu-embedding",
"baichuan",
"lingyiwanwu",
"minimax",